Redo: disable gameux
This commit is contained in:
parent
ecdd7e92d7
commit
36389068fa
|
@ -0,0 +1,3 @@
|
|||
@echo off
|
||||
regsvr32 -u C:\Windows\SysWOW64\gameux.dll
|
||||
regsvr32 -u C:\Windows\System32\gameux.dll
|
|
@ -1,12 +1 @@
|
|||
try:
|
||||
opusnt.readyFile(p("Windows","System32","gameux.dll"))
|
||||
opusnt.renameFile(p("Windows","System32","gameux.dll"),p("Windows","System32","gameux.dll.deactivated"))
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
if opusnt.target["version"]["architecture"] in ["amd64","ia64"]:
|
||||
try:
|
||||
opusnt.readyFile(p("Windows","SysWOW64","gameux.dll"))
|
||||
opusnt.renameFile(p("Windows","SysWOW64","gameux.dll"),p("Windows","SysWOW64","gameux.dll.deactivated"))
|
||||
except Exception as e:
|
||||
print(e)
|
||||
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\GameUX\\ServiceLocation","/v","Games","/t","REG_SZ","/d","127.0.0.1","/f"])
|
||||
|
|
Loading…
Reference in New Issue