Jump to content

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...