When a non-administrator is prompted by Vista’s UAC to enter Administrator credentials for security elevation, the program that then runs under Administrator priveleges will not have access to the logged in users mapped network drives.
For example, if Mike the user was to copy some files from the mapped network drive S: to C:Windows, he would be prompted by UAC to enter Administrative priveleges. So the Administrator John enters his details but then the copy fails because the network drive is no longer available now that the user is elevated.
This scenerio happens also when installing programs that require administrative priveleges during installation from a network drive.
To fix this, an administrator can make the following registry change,
Windows Registry Editor Version 5.00
You can also download and run this registry file to import the above change to your registry,
EnableLinkedConnections.reg (134 bytes, 1,308 hits)
The new User Access Control (UAC) in Windows Vista is an interesting feature. Whilst it keeps me well informed as to the security status of each program I run, it can become a hinderence to productivity.
One such issue I am having is loading programs at startup that require Administrative Rights. Currently Vista will not allow an elevated program to run on startup via the usual methods. But there is a work around using the Task Scheduler as I found on the Lavalys forum.
In order to create a task which runs with admin rights, you need to be logged in as an Administrator. These steps will not allow you to run an elevated program if you don’t already have the rights to do so.
- Open Task Scheduler by pressing the Start button and typing task scheduler and pressing enter.
- Create a new Task through the Action menu.
- Choose a name for the Task, and make sure Run with highest priveleges is ticked.
- Choose Triggers from the tabs at the top, and click New.
- Choose At log on from the Begin a task option.
- Either pick a user, or choose “Any user” if you want this to run on log on for everyone. Make sure everything else is not ticked except for “Enabled”. Click OK.
- Choose Actions from the tabs at the top, and click New.
- Click the Browse button and find the program you want to load at logon/startup. In the Lavalys example it would be the Everest executable. Click OK.
- Click the Settings tab and make sure the only checkbox ticked is Allow task to be run on demand.
- Click OK again to save your new task. Check it has been created properly by clicking on Task Scheduler Library on the left pane of the Task Scheduler. Thats it, you’re done. Reboot and see if it works!