Is there any serious consequence if I accidentally delete environmental variable in Windows 7? I know some program might not be able to run, but will that cause the system to crash at startup?
|
feedback
|
|
Critical environment variables are somewhat protected and cannot be permanently changed or deleted through regular methods. They can be changed via the command prompt using They can be changed via the If you seriously think that they've been tampered with then plug your system hard drive into another computer or use a LiveCD (so it's not being booted from). Check the log files in | |||
|
feedback
|
Not the operating system, no. Poorly written applications maybe. Windows should be using functions like this to get paths to special locations, not environment variables. The critical ones are created at boot-time, anyway. | |||
|
feedback
|
|
This will not cause Windows itself to crash, but some startup programs might crash or go crazy. The best is to restore the system back to before the delete was done. | |||
|
feedback
|
%systemroot%. – John T Jan 8 '11 at 10:24smss.exe, the Session Manager, and is inherited by all other processes. (Open ProcExp, double-click onsmss- or any process for that matter - and open Environment.) – grawity Jan 8 '11 at 12:16