Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


GIS Zug
2015-08-11T08:52:16Z
I miss a task that can manipulate a service on a remote machine.
F.e. change a service startup type from "Automatic" to "Manual".
Sponsor
Forum information
ErikC
2015-08-11T10:49:06Z
Hi GVA Zug, welcome to the forum!

You could do this with the use of the powershell task:

Set-Service –Name theservice –Computer thecomputer –StartupType “selectedType”

Where selectedType value can be:
  • Automatic
  • Manual
  • Disabled


Regards,
Erik
Uses Visualcron since 2006.
GIS Zug
2015-08-11T11:49:42Z
Great answer, thank you.

What about the solution to execute a *.reg File with VisualCron?
I could produce several *.reg Files with the Settings needed. As soon as it's being executed, the Registry is updated.

Nevertheless I'm gonna try your way.

Regards Dominic
ErikC
2015-08-11T13:47:49Z
Hi Dominic,
Originally Posted by: GIS Zug 

What about the solution to execute a *.reg File with VisualCron?
I could produce several *.reg Files with the Settings needed. As soon as it's being executed, the Registry is updated.


There is nothing wrong with your method at all. It's a bit more work and you have to have fysical files.

The way I described it everything is in Visualcron, but your method will also rock. 😎

Regards,
Erik
Uses Visualcron since 2006.
GIS Zug
2015-08-11T15:11:07Z
Since I managed to make your method happen, I', gonna stick with this.

That was the script text

Set-Service "Geomedia WebMap" -ComputerName "didbnt12.zg.ch" -StartupType Disabled

Regards Dominic
Scroll to Top