Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
3  
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
add comment

2 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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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