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:
- setx.exe <environmental variable name> <value> /m
- i.e. setx.exe MIG_IGNORE_PROFILE_MISSING 1 /m
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.
0 comments:
Post a Comment