Jump to content

Recommended Posts

Posted

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

Posted

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.

  • Administrators
Posted (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 by Paul
  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...