eXpress Posted June 4, 2012 Posted June 4, 2012 Hi there Is it possible to start the maintenance mode via the commandline? (e.g. PCMonitorManager.exe call with param). My server performs a weekly reboot. I have a shutdown script which ends all services, task, etc. and a start script which starts them again after the reboot. Now, i have to manually start the maintenance mode, wait until the reboot over night is done, and then end the maintenance mode manually again. Is it possible that i can start the maintenance mode in my shutdown script, and exit maintenance mode in the start script? Thanks for any hint :-) Regards Simon Cptrico 1
Marius Posted June 5, 2012 Posted June 5, 2012 You can set the HKEY_LOCAL_MACHINE\SOFTWARE\MMSOFT Design\PC Monitor\MaintenanceMode value to 1 or 0. That's the only way for now.
digbyp Posted June 5, 2012 Posted June 5, 2012 Or, you could use the Powershell Plugin (Poweroftheshell) to change the registry. http://forum.pulseway.com/topic/274-poweroftheshell-plugin-12/ Cptrico 1
Administrators Paul Posted June 6, 2012 Administrators Posted June 6, 2012 (edited) Or you can create a .reg file for the enabled and disabled file and call it from terminal like this: regedit.exe /s path_to_your_reg_file or even better you can create batch scripts that contain the command and place them in your PATH variable (by default system32 and windows are included in path) then you can type: enablemaintenancemode.bat and disablemaintenancemode.bat With PC Monitor the posibilities are endless Paul. Edited June 6, 2012 by Paul Cptrico 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now