Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Administration > UAC and Windows Explorer

Reply
Thread Tools Display Modes

UAC and Windows Explorer

 
 
Heinrich Moser
Guest
Posts: n/a

 
      03-24-2007
Hi!

UAC is a nice feature, but I've noticed two things with Windows
Explorer and UAC that I don't like at all:

1. It's not possible to start Windows Explorer in "run as
Administrator" mode. Well, you can start it like that (and confirm
the UAC dialog), but it's still running in restricted mode (popping
up a UAC dialog for every single file system change outside your
home directory).

2. When you try to use Windows Explorer to create a shortcut to some
program outside your home directory (for example in
ProgramData\Microsoft\Windows\Start Menu\..., which seems to me to
be a quite common location to create shortcuts), you don't get a
UAC prompt but rather an error ("Windows cannot create a shortcut
here...").

My question: Is there some way to change this (some registry key,
group policy setting or updated explorer.exe) without deactivating
UAC?

Greetings,
Heinzi
 
Reply With Quote
 
 
 
 
Mark Bourne
Guest
Posts: n/a

 
      03-24-2007
Heinrich Moser wrote:
> Hi!
>
> UAC is a nice feature, but I've noticed two things with Windows
> Explorer and UAC that I don't like at all:
>
> 1. It's not possible to start Windows Explorer in "run as
> Administrator" mode. Well, you can start it like that (and confirm
> the UAC dialog), but it's still running in restricted mode (popping
> up a UAC dialog for every single file system change outside your
> home directory).
>
> 2. When you try to use Windows Explorer to create a shortcut to some
> program outside your home directory (for example in
> ProgramData\Microsoft\Windows\Start Menu\..., which seems to me to
> be a quite common location to create shortcuts), you don't get a
> UAC prompt but rather an error ("Windows cannot create a shortcut
> here...").


I tend to get a warning that I need admin approval to do that, followed
by a UAC prompt. Which is also slightly annoying - why ask twice?

>
> My question: Is there some way to change this (some registry key,
> group policy setting or updated explorer.exe) without deactivating
> UAC?
>
> Greetings,
> Heinzi

 
Reply With Quote
 
Ronnie Vernon MVP
Guest
Posts: n/a

 
      03-24-2007
Heinzi

Even if you start Windows Explorer with admin privileges, there are still
restricted areas where certain functions are not allowed. Trying to force
this will affect virtualization and compatibility for some programs.

If you want to create shortcuts or make other changes to the users Start
Menu, go here:

C:\Users\username\AppData\Roaming\Microsoft\Window s\Start Menu.

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


"Heinrich Moser" <> wrote in message
news:...
> Hi!
>
> UAC is a nice feature, but I've noticed two things with Windows
> Explorer and UAC that I don't like at all:
>
> 1. It's not possible to start Windows Explorer in "run as
> Administrator" mode. Well, you can start it like that (and confirm
> the UAC dialog), but it's still running in restricted mode (popping
> up a UAC dialog for every single file system change outside your
> home directory).
>
> 2. When you try to use Windows Explorer to create a shortcut to some
> program outside your home directory (for example in
> ProgramData\Microsoft\Windows\Start Menu\..., which seems to me to
> be a quite common location to create shortcuts), you don't get a
> UAC prompt but rather an error ("Windows cannot create a shortcut
> here...").
>
> My question: Is there some way to change this (some registry key,
> group policy setting or updated explorer.exe) without deactivating
> UAC?
>
> Greetings,
> Heinzi


 
Reply With Quote
 
Jimmy Brush
Guest
Posts: n/a

 
      03-25-2007
Hello,

Explorer's handling of being elevated is a bit flaky.

It is possible, although it can get confusing.

First, enable launching folder windows in a seperate process from a Windows
Explorer window (organize -> folder and search options -> view tab)

Then, close all open explorer winodws (except for the desktop/taskbar).

You can only open an administrative explorer window if you don't have any
other explorer windows open.

Finally, right-click Windows Explorer and click Run As Administrator.

WARNING! From this point on, *any explorer window* that opens will be
running as administrator, even if you don't right-click it and click run as
administrator.

To get your explorer windows to open WITHOUT admin power, close all open
explorer windows again, and then open an explorer window normally. It is now
running without admin power.


--
- JB
Microsoft MVP - Windows Shell/User

Windows Vista Support Faq
http://www.jimmah.com/vista/

 
Reply With Quote
 
Mike Bernstein
Guest
Posts: n/a

 
      03-27-2007
Never the less, if you open in Administrator mode, you will be able to add
the shortcuts that you require. You simply have to confirm the operation
(twice but works).

Mike Bernstein

"Heinrich Moser" <> wrote in message
news:...
> Hi!
>
> UAC is a nice feature, but I've noticed two things with Windows
> Explorer and UAC that I don't like at all:
>
> 1. It's not possible to start Windows Explorer in "run as
> Administrator" mode. Well, you can start it like that (and confirm
> the UAC dialog), but it's still running in restricted mode (popping
> up a UAC dialog for every single file system change outside your
> home directory).
>
> 2. When you try to use Windows Explorer to create a shortcut to some
> program outside your home directory (for example in
> ProgramData\Microsoft\Windows\Start Menu\..., which seems to me to
> be a quite common location to create shortcuts), you don't get a
> UAC prompt but rather an error ("Windows cannot create a shortcut
> here...").
>
> My question: Is there some way to change this (some registry key,
> group policy setting or updated explorer.exe) without deactivating
> UAC?
>
> Greetings,
> Heinzi


 
Reply With Quote
 
Heinrich Moser
Guest
Posts: n/a

 
      04-09-2007
Hi!

Ah, thank you, that's exactly what I was looking for!

Knowing this, I played around a bit and made two observations:

1. This unusual behavior is actually quite useful for editing the All
Users start menu: After you've started one eleveated Explorer
window, "Open All Users" in the context menu of the start button
also opens this explorer window elevated (i.e. no need to manually
navigate to C:\ProgramData\...).

2. As soon as one elevated explorer window is opened, UAC can be
circumvented by any non-elevated program.

Example:

1. Start one elevated explorer (as you described below).
2. Open a non-elevated command line (cmd.exe).
3. Type "explorer.exe C:\Windows\System32\cmd.exe"
4. Note that the new cmd window is elevated.

Fascinating. I think I understand now why MS made it so difficult
to start an elevated explorer window...

Greetings,
Heinzi

"Jimmy Brush" <> writes:
> Explorer's handling of being elevated is a bit flaky.
>
> It is possible, although it can get confusing.
>
> First, enable launching folder windows in a seperate process from a
> Windows Explorer window (organize -> folder and search options -> view
> tab)
>
> Then, close all open explorer winodws (except for the desktop/taskbar).
>
> You can only open an administrative explorer window if you don't have
> any other explorer windows open.
>
> Finally, right-click Windows Explorer and click Run As Administrator.
>
> WARNING! From this point on, *any explorer window* that opens will be
> running as administrator, even if you don't right-click it and click
> run as administrator.
>
> To get your explorer windows to open WITHOUT admin power, close all
> open explorer windows again, and then open an explorer window
> normally. It is now running without admin power.
>
>
> --
> - JB
> Microsoft MVP - Windows Shell/User
>
> Windows Vista Support Faq
> http://www.jimmah.com/vista/

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows explorer has stopped working....window explorer restarting hunting_bears Windows Vista General Discussion 9 02-23-2009 05:25 PM
Windows explorer (NOT Internet explorer) keeps shutting down Phil Windows Vista General Discussion 1 03-21-2008 09:25 PM
Changing Filename COLORS in (VISTA )Windows Explorer (explorer.exe Eddie Windows Vista File Management 11 03-18-2008 09:58 PM
Windows explorer has stopped working Windows Explorer is restartin Miranda Windows Vista General Discussion 2 08-27-2007 09:42 PM
Can open URL in Windows Explorer, but not Internet Explorer JSCS Windows Vista General Discussion 7 06-20-2007 08:56 PM



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 47 48 49 50 51 52 53 54 55 56 57 58 59