Add mod: disable storage service

This commit is contained in:
Fierelier 2022-03-02 23:57:29 +01:00
parent 7a6aacb5f1
commit 0817011a72
3 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
Disables the service responsible for enforcing group policy for storage devices. Reduces performance, stores additional files on disks, keeps USB drives active for no apparent reason.

View File

@ -0,0 +1,6 @@
for key in opusnt.regQueryKeys(opusnt.regTmpPath + "system"):
if key.lower().startswith(opusnt.regTmpPath.lower() + "system\\controlset"):
try:
opusnt.runReg(["add",key+ "\\services\\StorSvc","/v","Start","/t","REG_DWORD","/d","0x00000004","/f"])
except:
pass

View File

@ -0,0 +1 @@
performance quality