(imported topic written by sureshhan91)
I want to use these DOS commands “sc config sessmgr.exe= auto” & “sc start sessmgr.exe” as a action kindly let me know if it is possible and how. What i am actually trying to do is this file “sessmgr” is used by the “Remote Desktop Help Session Manager” service in Windows so i want to set this service to AUTO startup instead of manual from bigfix.
Thanks.
(imported comment written by SystemAdmin)
You can simply preface the command with “DOS”:
DOS sc config sessmgr.exe= auto
Or you can make it part of a batch file that you build and execute on the fly.
(imported comment written by jessewk)
You can also use the ‘Service Baseline Wizard’ if you are subscribed to that site (I forget where it lives).
Also, we have a little utility called changeservicestartmode that will do it for you. Search the forum or the content in your console and you’ll find usage examples. It’s very easy.
If you do use JonL’s suggestion, I’d recommend using ‘waithidden’ instead of ‘DOS’ to avoid popping terminal windows up on the screen when the command runs.
Jesse