Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - New tool available to selectively bypass the UAC prompt

Reply
 
Old 12-30-2007   #1 (permalink)
Ronnie Vernon MVP


 
 

New tool available to selectively bypass the UAC prompt

This is a developers tool that will allow you to selectively enable programs
to bypass the UAC prompt. Recommended for Vista Business, Enterprise and
Ultimate.

How to disable the User Account Control Prompt for certain applications:
http://support.microsoft.com/kb/946932

Testing it now.


--

Ronnie Vernon
Microsoft MVP
Windows Shell/User



My System SpecsSystem Spec
Old 12-30-2007   #2 (permalink)
Ronnie Vernon MVP


 
 

Re: New tool available to selectively bypass the UAC prompt

"Jon" <Email_Address@xxxxxx> wrote in message
news:uNn64ZzSIHA.5136@xxxxxx
Quote:

> "Ronnie Vernon MVP" <rv@xxxxxx> wrote in message
> news:688EC249-E427-4A14-972A-EDD8DD67EE80@xxxxxx
Quote:

>> This is a developers tool that will allow you to selectively enable
>> programs to bypass the UAC prompt. Recommended for Vista Business,
>> Enterprise and Ultimate.
>>
>> How to disable the User Account Control Prompt for certain applications:
>> http://support.microsoft.com/kb/946932
>>
>> Testing it now.
>>
>
>
> Worth noting that this won't do what many people will anticipate that it
> will do. What it won't do is allow you to launch an elevated process from
> a non-elevated one without a UAC prompt. If you launch an application in
> the standard way (eg via Start menu or clicking on an application
> shortcut), then the modified process will just launch with standard user
> privileges.
>
> NB I've not tried it, but that is how I would interpret the significance
> of the instructions on the page, so feel free to correct me if I'm wrong
> there, following your testing.
>
>
>
> You can also achieve the same by adding a path / 'RUNASINVOKER' registry
> entry under
>
> HKEY_CURRENT_USER\Software\Microsoft\Windows
> NT\CurrentVersion\AppCompatFlags\Layers
> or
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
> NT\CurrentVersion\AppCompatFlags\Layers
>
> which is a probably simpler way of achieving the same.
>
>
>
> --
> Jon
>
Jon

These are just prliminary results of some testing.

It worked on a file utility that I use. (ShellExView)
It failed on Acronis Disk Director and True Image.

I am aware of the registry keys you mentioned, but the Application
Compatibility Tool doesn't appear to make any changes to those registry
keys.

Still testing.

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User

My System SpecsSystem Spec
Old 12-30-2007   #3 (permalink)
Jon


 
 

Re: New tool available to selectively bypass the UAC prompt


"Ronnie Vernon MVP" <rv@xxxxxx> wrote in message
news:78090D5B-38F4-4822-B489-3DC8C7118275@xxxxxx
Quote:

>
> Jon
>
> These are just prliminary results of some testing.
>
> It worked on a file utility that I use. (ShellExView)
> It failed on Acronis Disk Director and True Image.
>
> I am aware of the registry keys you mentioned, but the Application
> Compatibility Tool doesn't appear to make any changes to those registry
> keys.
>
> Still testing.
>


Yeah, that would make sense since the last 2 would require full elevated
privileges for uninhibited disc access, whereas you'd anticipate viewing
current user shell extensions to require less privileges.

Interesting that it's independent of those registry keys though....

--
Jon


My System SpecsSystem Spec
Old 12-31-2007   #4 (permalink)
Ronnie Vernon MVP


 
 

Re: New tool available to selectively bypass the UAC prompt

"Jon" <Email_Address@xxxxxx> wrote in message
news:ejOMlZ0SIHA.4280@xxxxxx
Quote:

>
> "Ronnie Vernon MVP" <rv@xxxxxx> wrote in message
> news:78090D5B-38F4-4822-B489-3DC8C7118275@xxxxxx
Quote:

>>
>> Jon
>>
>> These are just prliminary results of some testing.
>>
>> It worked on a file utility that I use. (ShellExView)
>> It failed on Acronis Disk Director and True Image.
>>
>> I am aware of the registry keys you mentioned, but the Application
>> Compatibility Tool doesn't appear to make any changes to those registry
>> keys.
>>
>> Still testing.
>>
>
>
>
> Yeah, that would make sense since the last 2 would require full elevated
> privileges for uninhibited disc access, whereas you'd anticipate viewing
> current user shell extensions to require less privileges.
>
> Interesting that it's independent of those registry keys though....
>
> --
> Jon
>
Jon

You were correct about the Acronis programs, they 'must' have admin
privileges to run. The utility that I mentioned ran OK until I tried to
perform an action that required it to create a registry value and then it
failed.

I found that the ACT tool does write a entry in the registry, but it creates
it's own key called 'InstalledSDB'.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\AppCompatFlags\InstalledSDB

It also adds an entry to the Control Panel/Programs and Features/Uninstall
or Change A Program so that any particular component that you create can be
easily uninstalled.


--

Ronnie Vernon
Microsoft MVP
Windows Shell/User








My System SpecsSystem Spec
Old 01-01-2008   #5 (permalink)
Jon


 
 

Re: New tool available to selectively bypass the UAC prompt

"Ronnie Vernon MVP" <rv@xxxxxx> wrote in message
news:%23lMZvHATIHA.4440@xxxxxx
Quote:

>
Quote:

> I found that the ACT tool does write a entry in the registry, but it
> creates it's own key called 'InstalledSDB'.
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
> NT\CurrentVersion\AppCompatFlags\InstalledSDB
>
> It also adds an entry to the Control Panel/Programs and Features/Uninstall
> or Change A Program so that any particular component that you create can
> be easily uninstalled.
>
>

Interesting .. thanks for sharing Ronnie.

--
Jon




My System SpecsSystem Spec
Old 01-01-2008   #6 (permalink)


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: New tool available to selectively bypass the UAC prompt

Quote  Quote: Originally Posted by Ronnie Vernon MVP View Post
This is a developers tool that will allow you to selectively enable programs
to bypass the UAC prompt. Recommended for Vista Business, Enterprise and
Ultimate.

How to disable the User Account Control Prompt for certain applications:
How to disable the User Account Control Prompt for certain application

Testing it now.


--

Ronnie Vernon
Microsoft MVP
Windows Shell/User
Hi Ronnie,

I tried it on the program CCleaner, and it did not prevent the UAC prompt for it. Even after a restart. I also tried it with combinations of "RunAsAdmin" and "RunAsHighest" with the "RunAsInvoker" to see if it made any difference. Nope. I am using the 64 bit Vista Ultimate.

Hope this helps with the testing on it. Any ideas?

Shawn
My System SpecsSystem Spec
Old 01-01-2008   #7 (permalink)
Ronnie Vernon MVP


 
 

Re: New tool available to selectively bypass the UAC prompt

"brink" <brink.32i227@xxxxxx-mx.forums.net> wrote in message
news:brink.32i227@xxxxxx-mx.forums.net...
Quote:

>
> Ronnie Vernon MVP;557487 Wrote:
Quote:

>> This is a developers tool that will allow you to selectively enable
>> programs
>> to bypass the UAC prompt. Recommended for Vista Business, Enterprise
>> and
>> Ultimate.
>>
>> How to disable the User Account Control Prompt for certain
>> applications:
>> 'How to disable the User Account Control Prompt for certain
>> application' (http://support.microsoft.com/kb/946932)
>>
>> Testing it now.
>>
>>
>> --
>>
>> Ronnie Vernon
>> Microsoft MVP
>> Windows Shell/User
>
> Hi Ronnie,
>
> I tried it on the program CCleaner, and it did not prevent the UAC
> prompt for it. Even after a restart. I also tried it with combinations
> of "RunAsAdmin" and "RunAsHighest" with the "RunAsInvoker" to see if it
> made any difference. Nope. I am using the 64 bit Vista Ultimate.
>
> Hope this helps with the testing on it. Any ideas?
>
> Shawn
>
>
> --
> brink
>
> *There are no dumb questions, just the people that do not ask them.*
> '*Vista Forums*'
> (http://www.vistax64.com/index.php?referrerid=2980)
> *Please post feedback to help others.*
Hi Shawn

It really is a hit or miss tool.

I used the tool on a utility called ShellExView, which is a program that
displays and can change context menu items. It always pops up the UAC prompt
when it is started. After using the ACT tool, the program started without
the UAC prompt and displayed the information for the context menu handlers.

However, as soon as I tried to use the program to make a change to one of
the handlers (which required the program to make a change in the registry)
it simply failed. I had to restart the program and use the 'Run as
administrator' option to make it work properly.

Other programs, such as Acronis Disk Director or True Image, will simply
display an error message when you try to start them after using the ACT
tool. You can still use the 'Run as administrator' option and they will work
properly.

The tool adds a registry key at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\AppCompatFlags called 'InstalledSDB' that contains several
DWord and String values.

The ACT tool also adds an entry in the Control Panel/Programs and
Features/Install_Uninstall Programs, so that you can can easily remove the
changes that the tool makes for a particular program that it is used on.

The conclusion seems to be that the tool is very limited in scope with what
it can actually do. What it will not do is override the UAC prompt if a
program attempts to make systemwide changes.
--

Ronnie Vernon
Microsoft MVP
Windows Shell/User

My System SpecsSystem Spec
Old 01-01-2008   #8 (permalink)


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: New tool available to selectively bypass the UAC prompt

Quote  Quote: Originally Posted by Ronnie Vernon MVP View Post
"brink" <brink.32i227@xxxxxx-mx.forums.net> wrote in message
news:brink.32i227@xxxxxx-mx.forums.net...
Quote:
>
> Ronnie Vernon MVP;557487 Wrote:
>
> Hi Ronnie,
>
> I tried it on the program CCleaner, and it did not prevent the UAC
> prompt for it. Even after a restart. I also tried it with combinations
> of "RunAsAdmin" and "RunAsHighest" with the "RunAsInvoker" to see if it
> made any difference. Nope. I am using the 64 bit Vista Ultimate.
>
> Hope this helps with the testing on it. Any ideas?
>
> Shawn
>
>
> --
> brink
>
> *There are no dumb questions, just the people that do not ask them.*
> '*Vista Forums*'
> (http://www.vistax64.com/index.php?referrerid=2980)
> *Please post feedback to help others.*
Hi Shawn

It really is a hit or miss tool.

I used the tool on a utility called ShellExView, which is a program that
displays and can change context menu items. It always pops up the UAC prompt
when it is started. After using the ACT tool, the program started without
the UAC prompt and displayed the information for the context menu handlers.

However, as soon as I tried to use the program to make a change to one of
the handlers (which required the program to make a change in the registry)
it simply failed. I had to restart the program and use the 'Run as
administrator' option to make it work properly.

Other programs, such as Acronis Disk Director or True Image, will simply
display an error message when you try to start them after using the ACT
tool. You can still use the 'Run as administrator' option and they will work
properly.

The tool adds a registry key at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\AppCompatFlags called 'InstalledSDB' that contains several
DWord and String values.

The ACT tool also adds an entry in the Control Panel/Programs and
Features/Install_Uninstall Programs, so that you can can easily remove the
changes that the tool makes for a particular program that it is used on.

The conclusion seems to be that the tool is very limited in scope with what
it can actually do. What it will not do is override the UAC prompt if a
program attempts to make systemwide changes.
--

Ronnie Vernon
Microsoft MVP
Windows Shell/User
Ronnie,

I was afraid of that, and hoping it was just not compatible with the 64 bit Vista yet. It would of have been nice to of had a way to make a workaround "exceptions list" for the UAC for known safe programs that have no way for them to backdoor the system. Perhaps they will get the bugs worked out and release a new method.

Shawn
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Using old tool from the PowerShell prompt PowerShell
gpo to selectively turn off uac for specific program Vista General
How to selectively set user permissions in Vista? Vista General
Selectively tune how Security Center Alerts Me Vista security
How to apply updates selectively in Windows Update? Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46