Tweaking.com Support Forums

Main Forum => Tweaking.com Support & Help => Topic started by: streetwolf on December 06, 2013, 04:15:53 pm

Title: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: streetwolf on December 06, 2013, 04:15:53 pm
Doesn't  add anything to the right-click context menu.  Running Windows 8.1 Pro x64.
Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: Shane on December 06, 2013, 04:19:21 pm
Did you open the right click menu options exe and click on it to add the regkeys?

I will boot up my windows 8.1 in vmware and do another test to make sure :-)

Shane
Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: Shane on December 06, 2013, 04:24:01 pm
Works for me bud. You need to open Right_Click_Options.exe and click on the add right click menu.

I didnt make an installer since there is no shortcuts or anything that is needed and wanted to keep things clean. Perhaps I should make a install.bat file and add it to the zip file?

Shane
Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: streetwolf on December 06, 2013, 04:25:37 pm
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile]
@="Application"
"EditFlags"=hex:38,07,00,00
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
  00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
  32,00,5c,00,73,00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,\
  00,2c,00,2d,00,31,00,30,00,31,00,35,00,36,00,00,00

[HKEY_CLASSES_ROOT\exefile\DefaultIcon]
@="%1"

[HKEY_CLASSES_ROOT\exefile\shell]

[HKEY_CLASSES_ROOT\exefile\shell\open]
"EditFlags"=hex:00,00,00,00

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"
"IsolatedCommand"="\"%1\" %*"

[HKEY_CLASSES_ROOT\exefile\shell\runas]
"HasLUAShield"=""

[HKEY_CLASSES_ROOT\exefile\shell\runas\command]
@="\"%1\" %*"
"IsolatedCommand"="\"%1\" %*"

[HKEY_CLASSES_ROOT\exefile\shell\runasuser]
@="@shell32.dll,-50944"
"SuppressionPolicyEx"="{F211AA05-D4DF-4370-A2A0-9F19C09756A7}"
"Extended"=""

[HKEY_CLASSES_ROOT\exefile\shell\runasuser\command]
"DelegateExecute"="{ea72d00e-4960-42fa-ba92-7792a7944c1d}"

[HKEY_CLASSES_ROOT\exefile\shellex]

[HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers]
@="Compatibility"

[HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers\Compatibility]
@="{1d27f844-3a1f-4410-85ac-14651078412d}"

[HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers\PintoStartScreen]
@="{470C0EBD-5D73-4d58-9CED-E91E22E23282}"

[HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers\StartMenuExt]
@="{E595F05F-903F-4318-8B0A-7F633B520D2B}"

[HKEY_CLASSES_ROOT\exefile\shellex\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"

Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: Shane on December 06, 2013, 04:28:06 pm
HKEY_CLASSES_ROOT\exefile\shell\CmdTweakingWindowsFirewall

Shane
Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: streetwolf on December 06, 2013, 04:34:06 pm
Here's what my context menu looks like.

Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: Shane on December 06, 2013, 04:35:22 pm
Right click on the exe and choose run as administrator.

I noticed I freaking forgot the .exe on the manifest file which tells windows to the exe needs admin rights.

Right_Click_Options.manifest

should be

Right_Click_Options.exe.manifest

I will get that update right away.

Shane
Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: streetwolf on December 06, 2013, 04:40:41 pm
Renaming the manifest per your instructions did nothing.  However, running the options program as Admin did put it into the context menu.

*** Actually I just noticed that you didn't tell me to rename the file so I guess there is more to it.
Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: Shane on December 06, 2013, 04:42:12 pm
The manifest file tells windows it needs admin rights. So when you click on it, it should come up and ask for permission.

I updated the zip file on the site. I will double check that I got it right though lol

Shane
Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: Shane on December 06, 2013, 04:46:31 pm
Quote
*** Actually I just noticed that you didn't tell me to rename the file so I guess there is more to it.

No renaming the file is fine. I renamed it on my system and it is now asking for permission when I double click the exe. It wasnt before.

You will notice the manifest files with the other exes as well and you will see how it has to have the .exe in there :-)

Shane
Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: streetwolf on December 06, 2013, 04:49:04 pm
Tried your new zip file and still a no go.  I updated the options program to run as admin via compatibility options which also fixes the problem.

I am running with the UAC slider at the bottom if that makes a difference.
Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: Shane on December 06, 2013, 04:52:35 pm
Quote
I am running with the UAC slider at the bottom if that makes a difference.

Actually that does. In Windows 8 you can now longer actually turn off the UAC. You can use a regkey setting to fully turn it off but then the app store wont work.

Turning it down tot he lowest level in 8 will simply have it no longer ask you to run a program with admin rights and will simply not run them with it. So you always have to right click and choose run as admin or set it in the compatibility.

This is one of the things I hate about 8.

Try bumping up the side 1 notch and then try and you will see it will ask you then.

Shane
Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: streetwolf on December 06, 2013, 04:57:54 pm
Going up a notch does indeed give me the UAC message.  Two things... Why use manifests at all?  I don't see any programs I checked that use them.  Secondly, many folks set the UAC to the bottom.  Those programs that require Admin will give me a message stating so.  I'll either have to run them a Admin using the context menu or just set them as admin in the compatibility options.
Title: Re: Tweaking.com - (Right Click) Allow, Block or Remove - Windows Firewall
Post by: Shane on December 06, 2013, 05:02:54 pm
Most programs have the manifest file embedded in the exe itself. I dont do that. I like having it out so users can look at it with notepad if they wish.

In vista and 7 when you turned UAC off it was truly off. In 8 it isnt.

http://www.alltechtalk.net/forum/thread-bypass-windows-8-uac-while-keeping-metro

Shane