Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Administration

Notices

Reply

UAC and Windows Explorer

 

LinkBack Thread Tools Display Modes
Old 03-24-2007, 05:36 PM   #1 (permalink)
Default UAC and Windows Explorer

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
Heinrich Moser
Guest
 
Posts: n/a
Reply With Quote  
Old 03-24-2007, 05:57 PM   #2 (permalink)
Default Re: UAC and Windows Explorer

Heinrich Moser wrote:
Quote:
> 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?
Quote:
>
> My question: Is there some way to change this (some registry key,
> group policy setting or updated explorer.exe) without deactivating
> UAC?
>
> Greetings,
> Heinzi
Mark Bourne
Guest
 
Posts: n/a
Reply With Quote  
Old 03-24-2007, 09:28 PM   #3 (permalink)
Default Re: UAC and Windows Explorer

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" <usenet@heinzi.at> wrote in message
news:87ircqilvz.fsf@garak.heinzi.at...
Quote:
> 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
Ronnie Vernon MVP
Guest
 
Posts: n/a
Reply With Quote  
Old 03-25-2007, 04:23 AM   #4 (permalink)
Default Re: UAC and Windows Explorer

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/

Jimmy Brush
Guest
 
Posts: n/a
Reply With Quote  
Old 03-27-2007, 03:22 PM   #5 (permalink)
Default Re: UAC and Windows Explorer

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" <usenet@heinzi.at> wrote in message
news:87ircqilvz.fsf@garak.heinzi.at...
Quote:
> 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
Mike Bernstein
Guest
 
Posts: n/a
Reply With Quote  
Old 04-09-2007, 11:12 PM   #6 (permalink)
Default Re: UAC and Windows Explorer

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" <jb@mvps.org> writes:
Quote:
> 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/
Heinrich Moser
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Losing Advanced Properties For Pictures In WIndows XP Windows Explorer Ricardo Talbot Windows XP Photos 6 12-15-2003 03:16 AM
crazy filenames in windows explorer Windows folder ariadne Windows XP Help & Support 3 10-17-2003 03:37 PM
Explorer Search (F3) find a text/keyword in files is defect in Windows XP SP1 und Windows 2003 Server MarKom Windows XP Basics 1 07-17-2003 04:22 AM
can't run windows explorer or internet explorer Ruth Cody Windows XP 1 07-13-2003 04:31 PM
Windows Registry is automatically starting Windows Explorer onlogin James Williams Windows XP Setup 0 07-12-2003 02:57 AM


All times are GMT. The time now is 09:46 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90