- setx.exe <environmental variable name> <value> /m
- i.e. setx.exe MIG_IGNORE_PROFILE_MISSING 1 /m
15 January 2014
Adding environmental variables across all profiles without a rebootPosted By: Mick Pletcher - 2:28 PM
This can be done without having to reboot the machine. You want to use setx.exe to create the new variable. The format to do this is:
In order to not have to reboot the machine, go to task manager and end the process tree of explorer.exe. Open explorer.exe back up and the new environmental variable is now present. Ending the process of just explorer.exe will not make the environmental variable visible.
About Mick PletcherMick Pletcher
My blog is here to help solve issues I have encountered and solved, publish scripts I have written, and educate others in understanding areas that are not well covered