Apply disable autoplay at user setup instead
This commit is contained in:
parent
57a85bdc89
commit
7a6f2769b5
@ -0,0 +1,2 @@
|
|||||||
|
@echo off
|
||||||
|
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\policies\Explorer" /v "NoDriveTypeAutoRun" /t REG_DWORD /d "0x000000ff" /f
|
@ -1,5 +0,0 @@
|
|||||||
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_DWORD","/d","0x000000ff","/f"])
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user