Add mod: disable storage service
This commit is contained in:
parent
7a6aacb5f1
commit
0817011a72
1
mods/[all]/disable storage service/description.txt
Normal file
1
mods/[all]/disable storage service/description.txt
Normal 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.
|
6
mods/[all]/disable storage service/modscript.py
Normal file
6
mods/[all]/disable storage service/modscript.py
Normal 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
|
1
mods/[all]/disable storage service/tags.txt
Normal file
1
mods/[all]/disable storage service/tags.txt
Normal file
@ -0,0 +1 @@
|
||||
performance quality
|
Loading…
Reference in New Issue
Block a user