Add mod: disable autoplay

This commit is contained in:
Fierelier 2021-08-14 19:00:45 +02:00
parent 08b98cb127
commit 6816a30019

View File

@ -0,0 +1,5 @@
for reg in regs:
if not reg.startswith("user-"): continue
user = opusnt.regTmpPath + reg
opusnt.runReg(["add",user + "\\Software\\Microsoft\\Windows\\CurrentVersion\\policies\\Explorer","/v","NoDriveTypeAutoRun","/t","REG_DWPRD","/d","0x000000ff","/f"])