Jump to content
Sign in to follow this  

Force a Service in Safe-Mode

Recommended Posts


I have the following service but need to know how i can start it up in "Safe Mode", otherwise i get a Windows Error # 1084

#include "ServiceControl.au3"

$servicename = "runmain"

CreateService("", $servicename, "runmain", "c:\runmain.exe", "LocalSystem", "", 0x110)

RegWrite("HKLM\SYSTEM\CurrentControlSet\Services\" & $servicename, "Runmain", "REG_SZ", "c:\runmain.exe")

thx guys ^_^

Never mind guys...i came right ;)

Edited by Robin

Share this post

Link to post
Share on other sites

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
Sign in to follow this