How can I tell if Windows is running in Safe Mode?
Posted
by
cwd
on Server Fault
See other posts from Server Fault
or by cwd
Published on 2012-10-01T18:58:56Z
Indexed on
2012/10/01
21:40 UTC
Read the original article
Hit count: 206
I have a Windows server that will sometimes reboot into safe mode after updates. I'm working on that issue but what I'd really like to know is how can I check to see if Windows is running in safe mode or not.
Ideally I would like to incorporate it into a script that would send a passive check to our Nagios box with the status.
Is there some environmental variable I can use or some way to get this information via the command line?
© Server Fault or respective owner