From 6c03026f524b071cc2ba8da7fa5cc2fe9ad6a082 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Sat, 28 May 2022 08:42:19 +0200 Subject: [PATCH] Add mod: disable remote assistance --- docs/index.html | 1 + docs/index.md | 1 + mods/[all]/disable remote assistance/description.txt | 1 + mods/[all]/disable remote assistance/modscript.py | 3 +++ mods/[all]/disable remote assistance/tags.txt | 1 + 5 files changed, 7 insertions(+) create mode 100644 mods/[all]/disable remote assistance/description.txt create mode 100644 mods/[all]/disable remote assistance/modscript.py create mode 100644 mods/[all]/disable remote assistance/tags.txt diff --git a/docs/index.html b/docs/index.html index f3b4f89..1b05c38 100644 --- a/docs/index.html +++ b/docs/index.html @@ -88,6 +88,7 @@ Mods that require System rights
[all]\disable file open warningsqualityDisable saving NTFS zone information for downloaded files. [all]\disable force closing of bg appsstabilityVista and up forcefully end processes that don't have a Window, which can cause data loss. [all]\disable hibernationstability, performanceDisables hibernation and all features associated to it, like hybrid sleep (which slows down standby) and fast startup (which never allows your disk to be edited by another OS and also causes instability over time if you don't restart) + [all]\disable remote assistancesecurityDisallow public access to the PC. Has been known to be exploited in the past. [all]\disable sfcqualityKeeps Windows from automatically enforcing its own files, making it more modding friendly. [all]\disable sleep when closing lidqualityStop Laptop from sleeping when closing lid. Sometimes you just wanna close your laptop and have it still perform tasks. [all]\disable storage serviceperformance, qualityDisables 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. diff --git a/docs/index.md b/docs/index.md index f3b4f89..1b05c38 100644 --- a/docs/index.md +++ b/docs/index.md @@ -88,6 +88,7 @@ Mods that require System rights
[all]\disable file open warningsqualityDisable saving NTFS zone information for downloaded files. [all]\disable force closing of bg appsstabilityVista and up forcefully end processes that don't have a Window, which can cause data loss. [all]\disable hibernationstability, performanceDisables hibernation and all features associated to it, like hybrid sleep (which slows down standby) and fast startup (which never allows your disk to be edited by another OS and also causes instability over time if you don't restart) + [all]\disable remote assistancesecurityDisallow public access to the PC. Has been known to be exploited in the past. [all]\disable sfcqualityKeeps Windows from automatically enforcing its own files, making it more modding friendly. [all]\disable sleep when closing lidqualityStop Laptop from sleeping when closing lid. Sometimes you just wanna close your laptop and have it still perform tasks. [all]\disable storage serviceperformance, qualityDisables 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. diff --git a/mods/[all]/disable remote assistance/description.txt b/mods/[all]/disable remote assistance/description.txt new file mode 100644 index 0000000..eaccf63 --- /dev/null +++ b/mods/[all]/disable remote assistance/description.txt @@ -0,0 +1 @@ +Disallow public access to the PC. Has been known to be exploited in the past. \ No newline at end of file diff --git a/mods/[all]/disable remote assistance/modscript.py b/mods/[all]/disable remote assistance/modscript.py new file mode 100644 index 0000000..3e9648f --- /dev/null +++ b/mods/[all]/disable remote assistance/modscript.py @@ -0,0 +1,3 @@ +for key in opusnt.regQueryKeys(opusnt.regTmpPath + "system"): + if key.lower().startswith(opusnt.regTmpPath.lower() + "system\\controlset"): + opusnt.runReg(["add",key+ "\\Control\\Remote Assistance","/v","fAllowToGetHelp","/t","REG_DWORD","/d","0x00000000","/f"]) diff --git a/mods/[all]/disable remote assistance/tags.txt b/mods/[all]/disable remote assistance/tags.txt new file mode 100644 index 0000000..77176a7 --- /dev/null +++ b/mods/[all]/disable remote assistance/tags.txt @@ -0,0 +1 @@ +security \ No newline at end of file