Re: Granting permission rights to Power users to modify Environment Variables

From: starsky (anonymous_at_discussions.microsoft.com)
Date: 04/30/04


Date: Fri, 30 Apr 2004 00:41:04 -0700

Hi juan,

*phew* finally I got it to work :D

Here's the solution I found (might have better ones out there):

Download setx from http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/setx-o.asp

Maybe one cons of this toolkit is that it requires command prompt instead of GUI. But I personally like to use command prompt. You will still find the 'New, Edit, Delete' buttons in 'Environment Variables > System variables' in Windows XP disabled. But you can use setx this command in command prompt after downloading the toolkit and extract the .exe file.

*One important thing before using is the give rights to Power Users. Go start > run > regedt32. Browse to "My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment", right click and click "Permissions". Give full rights (you may try not to give full rights, as I am running out of time, so I gave full rights) to power users.

After which, you can login to a account (with power user rights only), go to command prompt and use setx.

Hope this helps :D