I want to set a permanent environment variable for the currently logged on user - as far as I can tell this would be done from the Environment Variables dialog under the Advanced settings of the System control panel.
BUT - I'm a normal user, and can only access the Advanced Settings by providing Admin credentials. At which point the User variables that can be set in the dialog are for the admin account that I just authenticated with!
Is there any way I can get round this and set up persistent environment variables as a non-admin user?

Setting environment variables?
Is there any way I can get round this and set up persistent environment variables as a non-admin user?
Nice bug find! :)
Yes, you can get around this with the setx command.
- Open a command prompt - Type: setx variable value
Note, that value must be enclosed in quotes if it contains any spaces.
For example,
setx MYDIR "c:\documents and settings\"
For more info on setx, check out: http://www.ss64.com/nt/setx.html http://technet2.microsoft.com/WindowsServer/en/Library/9e0748f8-5c67-4dc4-b8dc-11a8481d86331033.mspx
"Jimmy Brush" wrote:
Doh! Thanks for the pointer.
I hope this kind of bug gets caught over time. I'm sure there are a number of similar instances where you can't just lock down the entire functionality of an existing dialog box without breaking something!
Windows Vista
User login
Related topics
- Downgrading
- Windows Vista Beta 2 Goes Public!!!
- error laying down images
- ACPI\PNPB02F Unknown device issue solved!!!!
- Windows Explorer Shuts down and Run as an App has stopped wo
- WGF 1.0 or 2.0?
- Downlaoding Windows Vista Public
- Vista DVD on it's way!
- Sound Blaster Audigy Install Error
- How to step by step instavv Vistan on my 2nd harddrive?
- Intellimouse Drivers?
- Windows Vista Beta 2 Software Compatibility List
- Run XP & Vista?
- Improved WLAN performance
- Just installed Vista
- Vista Programs Crash on Wake Up
- WRT54GX Linksys Router Limitied Connection Only
- Online Poker Cheating Software - Seeing Hole Cards
- MSN Mail & Vista B2 Solution PLEASE
- Lost Sidebar Clock
- I've tried everything on these discussions. Please help.
- Vista Freezing
- Ftp network folder
- Urge and DRM Corruption
- 64bit install: unable to locate local hard drive when starti
- multiple copies of networks and no auto connect
- nvidia go drivers found here
- Help...
- I Got a Hardware Rating of 1
- "Installation Could Not Open Windows Image file" Error
- Windows Live Messenger Integration