I need to remove system variables from client workstation and my clients are 500+ so I want to provide batch file to user to run himself to delete the system variables.

link|improve this question

0% accept rate
1  
I would suggest you start accepting some of the 8 other questions you have asked before you ask people to spend their time answer another one. – Scott Lundberg Sep 25 '09 at 19:07
1  
Well said Scott. I wouldn't dream of answering questions for such users. 0 out of 13 accepted answers is very poor. Shame on you user9550. – Bryan Jul 12 '10 at 16:25
feedback

4 Answers

get info about environment variables:

%> reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"

and delete the one you want with

%> reg delete /f /va "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"\XYZ

link|improve this answer
feedback

Will do for 1 dollar per user plus time ;) Why not just tell your boss you are inept and need to reply on the internet to do your job?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.