summaryrefslogtreecommitdiff
path: root/drivers/StartSuspended/install.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/StartSuspended/install.cmd')
-rw-r--r--drivers/StartSuspended/install.cmd5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/StartSuspended/install.cmd b/drivers/StartSuspended/install.cmd
new file mode 100644
index 0000000..e47632b
--- /dev/null
+++ b/drivers/StartSuspended/install.cmd
@@ -0,0 +1,5 @@
+copy "%~dp0StartSuspended.sys" %systemdrive%\StartSuspended.sys
+sc.exe create StartSuspended type= kernel start= auto binPath= %systemdrive%\StartSuspended.sys
+reg.exe add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\StartSuspended /v Target /t REG_SZ /d sppsvc.exe /f
+net.exe start StartSuspended
+pause