summaryrefslogtreecommitdiff
path: root/drivers/StartSuspended/install.cmd
diff options
context:
space:
mode:
authorWitherOrNot2025-02-13 23:37:59 +0000
committerGitHub2025-02-13 23:37:59 +0000
commita617f59a992a1d56328f0c32e3e303db3fef975d (patch)
tree1fa65b0b728e8787a6cccd138712281c63006414 /drivers/StartSuspended/install.cmd
parent634b353ebbfc6f465b13a18ae178f0bfd96510f8 (diff)
downloadspp-stuff-a617f59a992a1d56328f0c32e3e303db3fef975d.zip
Add files via upload
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