10 lines
386 B
Python
10 lines
386 B
Python
try:
|
|
opusnt.removeFile(p("Users","Default","AppData","Roaming","Microsoft","Windows","Start Menu","Programs","OneDrive.lnk"))
|
|
except Exception as e:
|
|
print(e)
|
|
|
|
for reg in regs:
|
|
if not reg.startswith("user-"): continue
|
|
user = opusnt.regTmpPath + reg
|
|
opusnt.runReg(["add",user + "\\Software\\Microsoft\\Windows\\CurrentVersion\\Run","/v","OneDriveSetup","/t","REG_SZ","/d"," ","/f"])
|