Merge branch 'python' into 'master'
moving python branch to master See merge request Fierelier/opus-nt!2
This commit is contained in:
commit
132fdd962c
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,8 +1,9 @@
|
|||||||
desktop.ini
|
desktop.ini
|
||||||
*.iso
|
*.iso
|
||||||
*.zip
|
*.zip
|
||||||
|
*.log
|
||||||
iso/*
|
iso/*
|
||||||
tmp/*
|
tmp-*/*
|
||||||
bin/*
|
bin/*
|
||||||
tweaks - converted/*
|
tweaks - converted/*
|
||||||
tweaksReversal - converted/*
|
tweaksReversal - converted/*
|
||||||
|
@ -5,7 +5,7 @@ opus-nt is a homebrew for Windows NT 10.X, striving for stability and performanc
|
|||||||
|
|
||||||
the homebrew-framework is very adaptable, and can be expanded with more tweaks or for other NT-based systems pretty easily. opus-nt and its framework may be distributed in whichever way you want. knock yourself out!
|
the homebrew-framework is very adaptable, and can be expanded with more tweaks or for other NT-based systems pretty easily. opus-nt and its framework may be distributed in whichever way you want. knock yourself out!
|
||||||
|
|
||||||
[**a complete list of tweaks**](https://git.lumen.sh/Fierelier/opus-nt/wikis/a-complete-list-of-tweaks)
|
[**a complete list of tweaks**](docs/tweaks.md)
|
||||||
|
|
||||||
# what do I need?
|
# what do I need?
|
||||||
an iso of Windows 10 (any edition, use LTS for the best experience), [DISM](https://go.microsoft.com/fwlink/p/?LinkId=526740) (comes included with Win10), and [7-Zip](https://www.7-zip.org/download.html)
|
an iso of Windows 10 (any edition, use LTS for the best experience), [DISM](https://go.microsoft.com/fwlink/p/?LinkId=526740) (comes included with Win10), and [7-Zip](https://www.7-zip.org/download.html)
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
@echo off
|
|
||||||
setlocal EnableDelayedExpansion
|
|
||||||
cd /d %~dp0
|
|
||||||
set execName=%~n0
|
|
||||||
set tweakPath=%cd%\tweaks - converted
|
|
||||||
for /d %%i in ("bin\*") do set path=%cd%\%%i;!path!
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo WARNING!
|
|
||||||
echo this will apply opus-nt's tweaks to your currently running system.
|
|
||||||
pause
|
|
||||||
|
|
||||||
for /d %%t in ("%tweakpath%\*") do (
|
|
||||||
call "applyTweakLocally.bat" "%%t"
|
|
||||||
)
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo done. restart your system to see all the changes.
|
|
||||||
pause
|
|
@ -1,5 +0,0 @@
|
|||||||
if not exist %1\"iso" exit /b
|
|
||||||
echo applying %~n1...
|
|
||||||
xcopy %1\"iso" "tmp\iso" /e /y
|
|
||||||
echo.
|
|
||||||
exit /b
|
|
@ -1,12 +0,0 @@
|
|||||||
echo.
|
|
||||||
echo -- applying tweak: %~n1 --
|
|
||||||
|
|
||||||
if exist %1\"reg" for /R %1\"reg" %%r in (*.reg) do (
|
|
||||||
echo importing "%%~nr%%~xr"...
|
|
||||||
reg import "%%r"
|
|
||||||
)
|
|
||||||
|
|
||||||
if exist %1\"wim" (
|
|
||||||
echo applying system files...
|
|
||||||
xcopy %1\"wim" "%SystemDrive%\" /e /y
|
|
||||||
)
|
|
@ -1,8 +0,0 @@
|
|||||||
if not exist %1\"reg\%~n2" exit /b
|
|
||||||
echo applying %~n1...
|
|
||||||
for %%r in (%1\reg\%~n2\*) do (
|
|
||||||
echo * %%~nr%%~xr...
|
|
||||||
reg import "%%r"
|
|
||||||
)
|
|
||||||
echo.
|
|
||||||
exit /b
|
|
@ -1,5 +0,0 @@
|
|||||||
if not exist %1\"script.bat" exit /b
|
|
||||||
echo applying %~n1...
|
|
||||||
call %1\"script.bat"
|
|
||||||
echo.
|
|
||||||
exit /b
|
|
@ -1,5 +0,0 @@
|
|||||||
if not exist %1\"wim" exit /b
|
|
||||||
echo applying %~n1...
|
|
||||||
xcopy %1\"wim" "tmp\wim" /e /y
|
|
||||||
echo.
|
|
||||||
exit /b
|
|
@ -1,2 +0,0 @@
|
|||||||
reg unload HKLM\OPUS-NT_TMP
|
|
||||||
reg load HKLM\OPUS-NT_TMP "%1"
|
|
@ -1,68 +0,0 @@
|
|||||||
import os
|
|
||||||
import shutil
|
|
||||||
sp = os.path.dirname(os.path.realpath(__file__))
|
|
||||||
p = os.path.join
|
|
||||||
|
|
||||||
regRep = "HKEY_LOCAL_MACHINE\\OPUS-NT_TMP"
|
|
||||||
|
|
||||||
def walklevel(some_dir, level=0):
|
|
||||||
some_dir = some_dir.rstrip(os.path.sep)
|
|
||||||
assert os.path.isdir(some_dir)
|
|
||||||
num_sep = some_dir.count(os.path.sep)
|
|
||||||
for root, dirs, files in os.walk(some_dir):
|
|
||||||
yield root, dirs, files
|
|
||||||
num_sep_this = root.count(os.path.sep)
|
|
||||||
if num_sep + level <= num_sep_this:
|
|
||||||
del dirs[:]
|
|
||||||
|
|
||||||
def convertFolder(dirIn):
|
|
||||||
# loop: tweaks
|
|
||||||
for tweakRoot,tweaks,_ in walklevel(dirIn):
|
|
||||||
for tweak in tweaks:
|
|
||||||
fullTweak = p(tweakRoot,tweak)
|
|
||||||
|
|
||||||
# loop: tweak types
|
|
||||||
for tweakTypeRoot,tweakTypes,_ in walklevel(fullTweak):
|
|
||||||
for tweakType in tweakTypes:
|
|
||||||
fullTweakType = p(tweakTypeRoot,tweakType)
|
|
||||||
|
|
||||||
# reg files
|
|
||||||
if tweakType.lower() == "reg":
|
|
||||||
for regTypeRoot,regTypes,_ in walklevel(fullTweakType):
|
|
||||||
for regType in regTypes:
|
|
||||||
fullRegType = p(regTypeRoot,regType)
|
|
||||||
|
|
||||||
for regRoot,_,regFiles in walklevel(fullRegType):
|
|
||||||
for regFile in regFiles:
|
|
||||||
fullReg = p(regRoot,regFile)
|
|
||||||
fullRegOut = fullReg.replace(dirIn,dirIn + " - converted")
|
|
||||||
fullRegOutDir = os.path.dirname(fullRegOut)
|
|
||||||
|
|
||||||
if not os.path.isdir(fullRegOutDir): os.makedirs(fullRegOutDir)
|
|
||||||
regFh = open(fullReg,"r")
|
|
||||||
regText = regFh.read()
|
|
||||||
regFh.close()
|
|
||||||
|
|
||||||
replaceWith = regRep
|
|
||||||
if regType.lower() == "software": replaceWith = "HKEY_LOCAL_MACHINE\\SOFTWARE"
|
|
||||||
if regType.lower() == "system": replaceWith = "HKEY_LOCAL_MACHINE\\SYSTEM"
|
|
||||||
if regType.lower() == "ntuser":
|
|
||||||
regFhOut = open(fullRegOut+ ".defaultUser" + ".reg","w",encoding="utf-8")
|
|
||||||
regFhOut.write(regText.replace(regRep,"HKEY_USERS\\.DEFAULT"))
|
|
||||||
regFhOut.close()
|
|
||||||
replaceWith = "HKEY_CURRENT_USER"
|
|
||||||
|
|
||||||
regTextOld = regText
|
|
||||||
regText = regText.replace(regRep,replaceWith)
|
|
||||||
if regText == regTextOld:
|
|
||||||
print("warning, " +tweak+ "/" +regType+ "/" +regFile+ ": not modified")
|
|
||||||
|
|
||||||
regFhOut = open(fullRegOut,"w",encoding="utf-8")
|
|
||||||
regFhOut.write(regText)
|
|
||||||
regFhOut.close()
|
|
||||||
|
|
||||||
if tweakType.lower() == "wim":
|
|
||||||
shutil.copytree(fullTweakType,fullTweakType.replace(dirIn,dirIn + " - converted"))
|
|
||||||
|
|
||||||
convertFolder(p(sp,"tweaks"))
|
|
||||||
convertFolder(p(sp,"tweaksReversal"))
|
|
66
docs/tweaks.md
Normal file
66
docs/tweaks.md
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
you can find all tweaks in the \tweaks\ directory of opus-nt.
|
||||||
|
|
||||||
|
## legend
|
||||||
|
|
||||||
|
✔ - added registry value. accurately reversible.
|
||||||
|
⚠️ - changed registry value. may not accurately revert.
|
||||||
|
❌ - complex modification/file modification. no reversal-tweak available.
|
||||||
|
|
||||||
|
i do not guarantee that that all of the reversals are accurate across different releases, the green ones are just fairly likely to be accurate. **please do** nag me if the defaults have changed, though. i would love to nail these as good as i can.
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
## performance
|
||||||
|
|
||||||
|
| | **name** | **details** |
|
||||||
|
| :---: | --- | --- |
|
||||||
|
| ✔ | [disable metro app swapping](../tweaks/ten/disable metro app swapping) | metro apps suspend themselves into swapfile.sys, to save memory. this however causes i/o activity. it is better disabled, and to disallow wasteful apps to run in the background entirely. |
|
||||||
|
| ⚠️ | [disable superfetch](../tweaks/longhorn-series/disable superfetch) | superfetch stores frequently accessed data in RAM. this is supposed to speed up read speeds, but in practice, it just causes unnecessary i/o activity, especially on HDDs. slow on HDDs, useless on SSDs as they're fast enough as-is, so this is disabled. |
|
||||||
|
| ✔ | [disable windows defender](../tweaks/ten/disable windows defender) | windows defender is not that good of anti-virus, and also causes a boatload of i/o activity, especially when a lot is going on. definitely worth disabling. |
|
||||||
|
| ⚠️ | [disable windows search](../tweaks/longhorn-series/disable windows search) | the windows search service is responsible for indexing the files on your drives. the service speeds up search, however, also causes unexpected i/o activity sometimes. |
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
## stability
|
||||||
|
|
||||||
|
| | **name** | **details** |
|
||||||
|
| :---: | --- | --- |
|
||||||
|
| ✔ | [delay feature updates](../tweaks/ten/delay feature updates) | feature updates will be delayed by half a year. feature updates are known to break stuff, especially in their early days, this alleviates the issue. |
|
||||||
|
| ✔ | [disable driver updates](../tweaks/ten/disable driver updates) | driver updates just love to break everything by installing themselves over your current drivers, improperly. |
|
||||||
|
| ✔ | [disable fast startup](../tweaks/ten/disable fast startup) | when using fast startup, your computer never properly shuts down, but rather hibernates. this can leave you with an unstable system after a while, if you do not restart. see below for more info on hibernation and another reason as to why this is disabled. |
|
||||||
|
| ✔ | [disable hibernation](../tweaks/longhorn-series/disable hibernation) | hibernation locks down your file system while windows is hibernating or shut down (if fast startup is enabled). editing the file-system outside of windows while this is the case, perhaps for recovery purposes, can likely corrupt your data. |
|
||||||
|
| ⚠️ | [disable low battery hibernation while charging](../tweaks/longhorn-series/disable low battery hibernation while charging) | fixes the annoying behavior where windows will hibernate randomly while the device is charging. this can happen especially on old/dead batteries. if you are using a weak charger, you may want to exclude this tweak. |
|
||||||
|
| ❌ | ~~post-setup script - disable update reboot~~ | this disables the scheduled task, which force-restarts your PC randomly after an update. pending re-implementation. |
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
## security
|
||||||
|
|
||||||
|
| | **name** | **details** |
|
||||||
|
| :---: | --- | --- |
|
||||||
|
| ✔ | [disable activity history](../tweaks/ten/disable activity history) | the activity history is just kind of creepy and unnecessary. this also skips a step in OOBE. |
|
||||||
|
| ✔ | [disable cross-pc update](../tweaks/ten/disable cross-pc update) | on default, windows will download/upload updates from/to other PCs in the network. this may or may not have security implications. better safe than sorry. |
|
||||||
|
| ✔ | [disable recently opened items](../tweaks/disable recently opened items) | disables several occurrences of recently opened files and folders, most prominently in quick access. |
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
## anti-corporate
|
||||||
|
|
||||||
|
| | **name** | **details** |
|
||||||
|
| :---: | --- | --- |
|
||||||
|
| ✔ | [disable ads](../tweaks/ten/disable ads) | this disables lots of ad-like behavior. the following features are disabled: downloading advert apps, explorer suggestions, start menu suggestions, "tips, tricks and suggestions" and settings suggestions. |
|
||||||
|
| ✔ | [disable cortana](../tweaks/ten/disable cortana) | another unecessity. this also disables web-search suggestions. |
|
||||||
|
| ✔ | [disable customer experience improvement program](../tweaks/longhorn-series/disable customer experience improvement program) | disables some misc telemetry related to compatibility and problem solving. also degrades performance |
|
||||||
|
| ❌ | [disable onedrive auto-install](../tweaks/ten/disable onedrive auto-install) | onedrive gets installed for every newly created user. this disables that behavior. |
|
||||||
|
| ✔ | [disable telemetry](../tweaks/ten/disable telemetry) | this tweak reduces the amount of data sent to microsoft. on home/pro, only basic telemetry gets sent. on enterprise, telemetry is "disabled". |
|
||||||
|
| ❌ | [partial unattended setup](../tweaks/ten/partial unattended setup) | skips OOBE, the last part of the setup. option to create a microsoft account is disabled, you will not be offered to connect to a wifi network and all the security questions get answered with "no" (to maximize privacy and performance). |
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
## quality of life
|
||||||
|
| | **name** | **details** |
|
||||||
|
| :---: | --- | --- |
|
||||||
|
| ✔ | [disable automatic sign-on](../tweaks/ten/disable automatic sign-on) | automatic sign-on gets your PC ready with the applications you had last started before you log in. this can be annoying if you prefer to start fresh when restarting. this can also slow down your startup by a bunch. |
|
||||||
|
| ✔ | [disable lock screen](../tweaks/ten/disable lock screen) | disables the additional, phone-like lock screen when an account is locked. saves you a button-press. |
|
||||||
|
| ⚠️ | [enable file extensions](../tweaks/longhorn-series/enable file extensions) | this enables file extensions (like .exe and .zip) for every newly created user. |
|
||||||
|
| ❌ | [post-setup script - master](../tweaks/longhorn-series/post-setup script - master) | this calls scripts in `%SystemDrive%\opus-nt-setupcomplete\scripts` after setup. a log-file is shown after this process is done, stored as `%SystemDrive%\opus-nt-setupcomplete.log`. the scripts destroy themselves after this. |
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\WindowsUpdate\AU]
|
|
||||||
"AUOptions"=dword:00000002
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\WindowsUpdate]
|
|
||||||
"SetUpdateNotificationLevel"=dword:00000001
|
|
||||||
"UpdateNotificationLevel"=dword:00000001
|
|
||||||
|
|
Binary file not shown.
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\WindowsUpdate\AU]
|
|
||||||
"AUOptions"=-
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\WindowsUpdate]
|
|
||||||
"SetUpdateNotificationLevel"=dword:00000001
|
|
||||||
"UpdateNotificationLevel"=dword:00000001
|
|
||||||
|
|
Binary file not shown.
7
opus-nt.py
Normal file
7
opus-nt.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import os
|
||||||
|
from munch import *
|
||||||
|
opus = Munch()
|
||||||
|
opus._mainScript = False
|
||||||
|
|
||||||
|
with open(os.path.join(os.path.dirname(os.path.realpath(__file__)),"scripts","main.py")) as opus._mainScript:
|
||||||
|
exec(opus._mainScript.read())
|
165
patch-iso.bat
165
patch-iso.bat
@ -1,165 +0,0 @@
|
|||||||
@echo off
|
|
||||||
setlocal EnableDelayedExpansion
|
|
||||||
set workdir=%~dp0
|
|
||||||
set tweakdir=%workdir%tweaks
|
|
||||||
cd /d %workdir%
|
|
||||||
|
|
||||||
:: expanding path with prerequisites
|
|
||||||
for /d %%i in ("bin\*") do set path=%cd%\%%i;!path!
|
|
||||||
|
|
||||||
:: clearing temporary data
|
|
||||||
if exist "tmp" (
|
|
||||||
echo.
|
|
||||||
echo -- unmounting registry --
|
|
||||||
reg unload HKLM\OPUS-NT_TMP
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo.
|
|
||||||
echo -- unmounting windows image --
|
|
||||||
dism /unmount-image /mountdir:"tmp\wim" /discard
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo.
|
|
||||||
echo -- removing tmp folder --
|
|
||||||
rmdir "tmp" /s /q
|
|
||||||
if not "%errorlevel%" == "0" (
|
|
||||||
echo.
|
|
||||||
echo could not remove tmp-folder, canceling
|
|
||||||
pause
|
|
||||||
goto exit
|
|
||||||
)
|
|
||||||
echo.
|
|
||||||
)
|
|
||||||
|
|
||||||
if "%1" == "" (
|
|
||||||
echo usage: create-iso.bat IMAGE
|
|
||||||
goto exit
|
|
||||||
)
|
|
||||||
|
|
||||||
:: console mode
|
|
||||||
if "%1" == "console" (
|
|
||||||
echo.
|
|
||||||
cmd
|
|
||||||
goto exit
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir tmp
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo.
|
|
||||||
echo -- extracting iso --
|
|
||||||
mkdir tmp\iso
|
|
||||||
7z x -o"tmp\iso" "%1"
|
|
||||||
if not "%errorlevel%" == "0" (
|
|
||||||
echo.
|
|
||||||
echo could not extract iso, canceling
|
|
||||||
pause
|
|
||||||
goto exit
|
|
||||||
)
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo.
|
|
||||||
echo -- mounting wmi --
|
|
||||||
dism /get-imageinfo /imagefile:"tmp\iso\sources\install.wim"
|
|
||||||
if not "%errorlevel%" == "0" (
|
|
||||||
echo.
|
|
||||||
echo could not get image info, canceling
|
|
||||||
pause
|
|
||||||
goto exit
|
|
||||||
)
|
|
||||||
set /p "index=index: "
|
|
||||||
|
|
||||||
mkdir tmp\wim
|
|
||||||
dism /mount-image /index:%index% /imagefile:"tmp\iso\sources\install.wim" /mountdir:"tmp\wim"
|
|
||||||
if not "%errorlevel%" == "0" (
|
|
||||||
echo.
|
|
||||||
echo could not mount image, canceling
|
|
||||||
pause
|
|
||||||
goto exit
|
|
||||||
)
|
|
||||||
|
|
||||||
:: image console mode
|
|
||||||
if "%2" == "console" (
|
|
||||||
echo.
|
|
||||||
cmd
|
|
||||||
goto exit
|
|
||||||
)
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo.
|
|
||||||
echo -- applying files to windows image --
|
|
||||||
for /d %%t in ("%tweakdir%\*") do (
|
|
||||||
call "applyTweakWim.bat" "%%t"
|
|
||||||
)
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo.
|
|
||||||
echo -- working registry --
|
|
||||||
for %%r in (tmp\wim\windows\system32\config\*) do (
|
|
||||||
echo.
|
|
||||||
echo mounting: %%~nr
|
|
||||||
reg load HKLM\OPUS-NT_TMP "%%r"
|
|
||||||
echo.
|
|
||||||
if "%errorlevel%" == "0" (
|
|
||||||
echo running tweaks for %%~nr...
|
|
||||||
for /d %%t in ("%tweakdir%\*") do (
|
|
||||||
call "applyTweakReg.bat" "%%t" "%%r"
|
|
||||||
)
|
|
||||||
echo unmounting: %%r
|
|
||||||
reg unload HKLM\OPUS-NT_TMP
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
:: why would the default user settings not be in %windir%\system32\config?
|
|
||||||
echo.
|
|
||||||
echo mounting: tmp\wim\Users\Default\NTUSER.DAT
|
|
||||||
reg load HKLM\OPUS-NT_TMP "tmp\wim\Users\Default\NTUSER.DAT"
|
|
||||||
if "%errorlevel%" == "0" (
|
|
||||||
echo running tweaks for NTUSER...
|
|
||||||
for /d %%t in ("%tweakdir%\*") do (
|
|
||||||
call "applyTweakReg.bat" "%%t" "NTUSER"
|
|
||||||
)
|
|
||||||
echo unmounting: tmp\wim\Users\Default\NTUSER.DAT
|
|
||||||
reg unload HKLM\OPUS-NT_TMP
|
|
||||||
)
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo.
|
|
||||||
echo -- applying scripts --
|
|
||||||
for /d %%t in ("%tweakdir%\*") do (
|
|
||||||
call "applyTweakScript.bat" "%%t"
|
|
||||||
)
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo.
|
|
||||||
echo -- committing changes to wim and unmounting --
|
|
||||||
dism /unmount-image /mountdir:"tmp\wim" /commit
|
|
||||||
if not "%errorlevel%" == "0" (
|
|
||||||
echo.
|
|
||||||
echo could not unmount image, canceling
|
|
||||||
pause
|
|
||||||
goto exit
|
|
||||||
)
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo.
|
|
||||||
echo -- applying files to iso folder --
|
|
||||||
for /d %%t in ("%tweakdir%\*") do (
|
|
||||||
call "applyTweakIso.bat" "%%t"
|
|
||||||
)
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo -- moving iso folder --
|
|
||||||
rmdir "iso" /s /q
|
|
||||||
move "tmp\iso" "%cd%"
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo -- deleting tmp --
|
|
||||||
rmdir "tmp" /s /q
|
|
||||||
|
|
||||||
echo.
|
|
||||||
echo all done. a folder with the disc image's data has been created in \iso\. use something like ntlite to compile it into an iso.
|
|
||||||
pause
|
|
||||||
goto exit
|
|
||||||
|
|
||||||
:exit
|
|
38
scripts/api/detection.py
Normal file
38
scripts/api/detection.py
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
opus.detect = Munch()
|
||||||
|
|
||||||
|
def _detectOS(osPath):
|
||||||
|
opus.main.output("detecting OS at " +osPath+ "...")
|
||||||
|
|
||||||
|
osInfo = Munch()
|
||||||
|
osInfo.version = Munch()
|
||||||
|
osInfo.version.major = 0
|
||||||
|
osInfo.version.minor = 0
|
||||||
|
osInfo.tags = []
|
||||||
|
|
||||||
|
opus.reg.mount(pJoin(osPath,"Windows","System32","config","SOFTWARE"))
|
||||||
|
osInfo.version.key = opus.reg.getKey(opus.reg.path + opus.reg.sep + "Microsoft" +opus.reg.sep+ "Windows NT" +opus.reg.sep + "CurrentVersion")
|
||||||
|
opus.reg.unmount()
|
||||||
|
|
||||||
|
try:
|
||||||
|
osInfo.version.major = int(osInfo.version.key.CurrentMajorVersionNumber.value)
|
||||||
|
osInfo.version.minor = int(osInfo.version.key.CurrentMinorVersionNumber.value)
|
||||||
|
except:
|
||||||
|
version = osInfo.version.key.CurrentVersion.value
|
||||||
|
osInfo.version.major = int(version.split(".")[0])
|
||||||
|
osInfo.version.minor = int(version.split(".")[1])
|
||||||
|
|
||||||
|
osInfo.version.string = str(osInfo.version.major) + "." + str(osInfo.version.minor)
|
||||||
|
if osInfo.version.string == "0.0": raise Exception("version unknown")
|
||||||
|
opus.main.output("\ndetected: Windows NT " +osInfo.version.string,1)
|
||||||
|
|
||||||
|
if osInfo.version.major > 5 and osInfo.version.major < 11: osInfo.tags.append("longhorn-series")
|
||||||
|
if osInfo.version.string == "6.0": osInfo.tags.append("vista")
|
||||||
|
if osInfo.version.string == "6.1": osInfo.tags.append("seven")
|
||||||
|
if osInfo.version.string == "6.2": osInfo.tags.append("eight")
|
||||||
|
if osInfo.version.string == "6.3": osInfo.tags.append("eightone"); osInfo.tags.append("nine")
|
||||||
|
if osInfo.version.string == "10.0": osInfo.tags.append("ten")
|
||||||
|
|
||||||
|
opus.main.output("tags: " +str(osInfo.tags),1)
|
||||||
|
return osInfo
|
||||||
|
|
||||||
|
opus.detect.os = _detectOS
|
32
scripts/api/main.py
Normal file
32
scripts/api/main.py
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
opus.main = Munch()
|
||||||
|
|
||||||
|
def _mainOutput(msg,verbosity = 0):
|
||||||
|
if opus.verbosity > verbosity - 1:
|
||||||
|
print(msg)
|
||||||
|
|
||||||
|
with open("opus-nt-" +str(opus.time)+ ".log","a") as file:
|
||||||
|
file.write(msg + "\n")
|
||||||
|
opus.main.output = _mainOutput
|
||||||
|
|
||||||
|
opus.script = Munch()
|
||||||
|
def _mainExecPy(_scriptPath):
|
||||||
|
opus.main.output("script -> execute -> " +_scriptPath,1)
|
||||||
|
|
||||||
|
_return = True
|
||||||
|
with open(_scriptPath) as _scriptFile:
|
||||||
|
exec(_scriptFile.read())
|
||||||
|
|
||||||
|
opus.main.output("done.",2)
|
||||||
|
return _return
|
||||||
|
opus.script.execute = _mainExecPy
|
||||||
|
|
||||||
|
opus.temp = Munch()
|
||||||
|
def _tempRemove():
|
||||||
|
if os.path.isdir(opus.path.temp):
|
||||||
|
opus.main.output("clearing temp directory...",1)
|
||||||
|
try:
|
||||||
|
opus.reg.unmount()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
rtn = subprocess.call(["rmdir","/s","/q",opus.path.temp],shell=True)
|
||||||
|
opus.temp.remove = _tempRemove
|
25
scripts/api/path.py
Normal file
25
scripts/api/path.py
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
global os
|
||||||
|
import os
|
||||||
|
|
||||||
|
def _pathWalklevel(some_dir, level=0):
|
||||||
|
if level < 0:
|
||||||
|
for root, dirs, files in os.walk(some_dir):
|
||||||
|
yield root,dirs,files
|
||||||
|
|
||||||
|
return
|
||||||
|
|
||||||
|
some_dir = some_dir.rstrip(os.path.sep)
|
||||||
|
assert os.path.isdir(some_dir)
|
||||||
|
num_sep = some_dir.count(os.path.sep)
|
||||||
|
for root, dirs, files in os.walk(some_dir):
|
||||||
|
yield root, dirs, files
|
||||||
|
num_sep_this = root.count(os.path.sep)
|
||||||
|
if num_sep + level <= num_sep_this:
|
||||||
|
del dirs[:]
|
||||||
|
opus.path.walklevel = _pathWalklevel
|
||||||
|
|
||||||
|
def _pathEasywalk(dir,depth = 0):
|
||||||
|
for root, dirs, files in opus.files.walklevel(dir,depth):
|
||||||
|
for file in files:
|
||||||
|
yield p(root,file)
|
||||||
|
opus.path.easywalk = _pathEasywalk
|
53
scripts/api/registry.py
Normal file
53
scripts/api/registry.py
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
global subprocess
|
||||||
|
import subprocess
|
||||||
|
global winreg
|
||||||
|
import winreg
|
||||||
|
|
||||||
|
opus.reg = Munch()
|
||||||
|
opus.reg.sep = "\\"
|
||||||
|
opus.reg.path = "OPUS_TMP"
|
||||||
|
|
||||||
|
def _regUnmount():
|
||||||
|
opus.main.output("registry > unmount",2)
|
||||||
|
rtn = subprocess.call(["reg","unload","HKLM" + opus.reg.sep + opus.reg.path])
|
||||||
|
if rtn > 0: raise Exception("reg")
|
||||||
|
opus.reg.unmount = _regUnmount
|
||||||
|
|
||||||
|
def _regMount(i):
|
||||||
|
try:
|
||||||
|
opus.reg.unmount()
|
||||||
|
except:
|
||||||
|
opus.main.output("unmount failed, probably already unmounted",2)
|
||||||
|
opus.main.output("registry > mount > " +i,2)
|
||||||
|
rtn = subprocess.call(["reg","load","HKLM" + opus.reg.sep + opus.reg.path,i])
|
||||||
|
if rtn > 0: raise Exception("reg")
|
||||||
|
opus.reg.mount = _regMount
|
||||||
|
|
||||||
|
def _regImport(rp):
|
||||||
|
opus.main.output("registry > import > " +rp,2)
|
||||||
|
rtn = subprocess.call(["reg","import",rp])
|
||||||
|
if rtn > 0: raise Exception("reg")
|
||||||
|
opus.reg.imprt = _regImport
|
||||||
|
|
||||||
|
def _getValue(kp,v):
|
||||||
|
with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE,kp) as key:
|
||||||
|
return winreg.QueryValueEx(key,v)
|
||||||
|
opus.reg.getValue = _getValue
|
||||||
|
|
||||||
|
def _getKey(kp):
|
||||||
|
with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE,kp) as key:
|
||||||
|
rtn = Munch()
|
||||||
|
index = 0
|
||||||
|
length = winreg.QueryInfoKey(key)[1]
|
||||||
|
while index < length:
|
||||||
|
valueInfo = winreg.EnumValue(key,index)
|
||||||
|
rtn[valueInfo[0]] = Munch()
|
||||||
|
rtn[valueInfo[0]].value = valueInfo[1]
|
||||||
|
rtn[valueInfo[0]].type = valueInfo[2]
|
||||||
|
index = index + 1
|
||||||
|
|
||||||
|
return rtn
|
||||||
|
opus.reg.getKey = _getKey
|
||||||
|
|
||||||
|
def _setValue(kp,key,vt,value):
|
||||||
|
print("owo")
|
59
scripts/api/tweak.py
Normal file
59
scripts/api/tweak.py
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
opus.tweak = Munch()
|
||||||
|
opus.tweak.apply = Munch()
|
||||||
|
def _tweakApplyReg(tag,rtgName,rtgFile):
|
||||||
|
opus.main.output("\n>> [" +tag+ "] applying tweaks: registry -> " +rtgName,1)
|
||||||
|
opus.reg.mount(opus.wim.path(rtgFile))
|
||||||
|
for tweakRoot,tweaks,_ in opus.path.walklevel(pJoin(opus.path.tweaks,tag)):
|
||||||
|
for tweak in tweaks:
|
||||||
|
ftweak = os.path.join(tweakRoot,tweak)
|
||||||
|
if not os.path.isfile(pJoin(ftweak,"reg",rtgName + ".REG")): continue
|
||||||
|
opus.reg.imprt(pJoin(ftweak,"reg",rtgName + ".REG"))
|
||||||
|
|
||||||
|
opus.reg.unmount()
|
||||||
|
opus.tweak.apply.reg = _tweakApplyReg
|
||||||
|
|
||||||
|
def _tweakApplyWim(tag):
|
||||||
|
opus.main.output("\n>> [" +tag+ "] applying tweaks: wim",1)
|
||||||
|
for tweakRoot,tweaks,_ in opus.path.walklevel(pJoin(opus.path.tweaks,tag)):
|
||||||
|
for tweak in tweaks:
|
||||||
|
ftweak = os.path.join(tweakRoot,tweak)
|
||||||
|
if not os.path.isdir(pJoin(ftweak,"wim")): continue
|
||||||
|
opus.main.output("> applying: " +tweak,1)
|
||||||
|
for root,dirs,files in os.walk(pJoin(ftweak,"wim")):
|
||||||
|
for dir in dirs:
|
||||||
|
fdir = os.path.join(root,dir)
|
||||||
|
nfdir = fdir.replace(pJoin(ftweak,"wim"),opus.wim.path())
|
||||||
|
if not os.path.isdir(nfdir):
|
||||||
|
opus.main.output("creating directory: " +nfdir,2)
|
||||||
|
os.makedirs(nfdir)
|
||||||
|
|
||||||
|
for file in files:
|
||||||
|
ffile = os.path.join(root,file)
|
||||||
|
nffile = ffile.replace(pJoin(ftweak,"wim"),opus.wim.path())
|
||||||
|
opus.main.output("adding file: " +nffile,2)
|
||||||
|
if os.path.isdir(nffile): os.remove(nffile)
|
||||||
|
shutil.copyfile(ffile,nffile)
|
||||||
|
opus.tweak.apply.wim = _tweakApplyWim
|
||||||
|
|
||||||
|
def _tweakApplyIso(tag):
|
||||||
|
opus.main.output("\n>> [" +tag+ "] applying tweaks: iso",1)
|
||||||
|
for tweakRoot,tweaks,_ in opus.path.walklevel(pJoin(opus.path.tweaks,tag)):
|
||||||
|
for tweak in tweaks:
|
||||||
|
ftweak = os.path.join(tweakRoot,tweak)
|
||||||
|
if not os.path.isdir(pJoin(ftweak,"iso")): continue
|
||||||
|
opus.main.output("> applying: " +tweak,1)
|
||||||
|
for root,dirs,files in os.walk(pJoin(ftweak,"iso")):
|
||||||
|
for dir in dirs:
|
||||||
|
fdir = os.path.join(root,dir)
|
||||||
|
nfdir = fdir.replace(pJoin(ftweak,"iso"),opus.path.target)
|
||||||
|
if not os.path.isdir(nfdir):
|
||||||
|
opus.main.output("creating directory: " +nfdir,2)
|
||||||
|
os.makedirs(nfdir)
|
||||||
|
|
||||||
|
for file in files:
|
||||||
|
ffile = os.path.join(root,file)
|
||||||
|
nffile = ffile.replace(pJoin(ftweak,"iso"),opus.path.target)
|
||||||
|
opus.main.output("adding file: " +nffile,2)
|
||||||
|
if os.path.isdir(nffile): os.remove(nffile)
|
||||||
|
shutil.copyfile(ffile,nffile)
|
||||||
|
opus.tweak.apply.iso = _tweakApplyIso
|
43
scripts/api/wim.py
Normal file
43
scripts/api/wim.py
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
global subprocess
|
||||||
|
import subprocess
|
||||||
|
global shutil
|
||||||
|
import shutil
|
||||||
|
|
||||||
|
opus.wim = Munch()
|
||||||
|
opus.wim.index = 0
|
||||||
|
opus.wim.location = ""
|
||||||
|
|
||||||
|
def _wimPath(p = ""):
|
||||||
|
if p == "": return pJoin(opus.path.wim,str(opus.wim.index))
|
||||||
|
return pJoin(opus.path.wim,str(opus.wim.index),p)
|
||||||
|
opus.wim.path = _wimPath
|
||||||
|
|
||||||
|
def _wimExtractFiles(filePaths):
|
||||||
|
fileList = []
|
||||||
|
for filePath in filePaths:
|
||||||
|
fileList.append("-i!" +pJoin(str(opus.wim.index),filePath))
|
||||||
|
|
||||||
|
opus.main.output("extracting " +str(len(filePaths))+ " files from " +opus.wim.location+ "...")
|
||||||
|
|
||||||
|
for filePath in filePaths:
|
||||||
|
rtn = subprocess.call(
|
||||||
|
["wimlib-imagex","extract",
|
||||||
|
opus.wim.location,str(opus.wim.index),
|
||||||
|
filePath,
|
||||||
|
"--dest-dir=" +opus.wim.path(""),"--preserve-dir-structure"]
|
||||||
|
)
|
||||||
|
if rtn > 0: raise Exception("wim")
|
||||||
|
opus.wim.extractFiles = _wimExtractFiles
|
||||||
|
|
||||||
|
def _wimReadyFile(inPath,outPath):
|
||||||
|
if os.path.isfile(opus.wim.path(outPath)): os.remove(opus.wim.path(outPath))
|
||||||
|
shutil.copyfile(inPath,opus.wim.path(outPath))
|
||||||
|
opus.wim.readyFile = _wimReadyFile
|
||||||
|
|
||||||
|
def _wimUpdate():
|
||||||
|
opus.main.output("adding changed files to wim...")
|
||||||
|
rtn = subprocess.call(
|
||||||
|
["wimlib-imagex","update",opus.wim.location,str(opus.wim.index),
|
||||||
|
"--command=add '" +opus.wim.path("")+ "' '\\'"]
|
||||||
|
)
|
||||||
|
opus.wim.update = _wimUpdate
|
1
scripts/hello.py
Normal file
1
scripts/hello.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
opus.main.output("welcome to " +opus.version.string+ "!")
|
88
scripts/main.py
Normal file
88
scripts/main.py
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
import sys
|
||||||
|
import os
|
||||||
|
import shutil
|
||||||
|
import time
|
||||||
|
|
||||||
|
pJoin = os.path.join
|
||||||
|
|
||||||
|
opus.time = int(time.time())
|
||||||
|
|
||||||
|
opus.version = Munch()
|
||||||
|
opus.version.distro = "opus-nt"
|
||||||
|
opus.version.major = 0
|
||||||
|
opus.version.median = 2
|
||||||
|
opus.version.minor = 0
|
||||||
|
opus.version.state = "dev"
|
||||||
|
opus.version.string = \
|
||||||
|
opus.version.distro + " " +\
|
||||||
|
str(opus.version.major) + "." +\
|
||||||
|
str(opus.version.median) + "." +\
|
||||||
|
str(opus.version.minor) + " " +\
|
||||||
|
opus.version.state
|
||||||
|
|
||||||
|
opus.path = Munch()
|
||||||
|
opus.path.main = os.path.dirname(os.path.realpath(__file__))
|
||||||
|
opus.path.api = pJoin(opus.path.main,"scripts","api")
|
||||||
|
opus.path.tweaks = pJoin(opus.path.main,"tweaks")
|
||||||
|
opus.path.temp = pJoin(opus.path.main,"tmp-" +str(opus.time))
|
||||||
|
opus.path.wim = pJoin(opus.path.temp,"wim")
|
||||||
|
opus.path.target = os.path.realpath(sys.argv[1])
|
||||||
|
opus.verbosity = 2
|
||||||
|
|
||||||
|
with open(pJoin(opus.path.main,"scripts","api","main.py")) as script:
|
||||||
|
exec(script.read())
|
||||||
|
|
||||||
|
opus.main.output("\nmain-api loaded!",1)
|
||||||
|
opus.script.execute(pJoin(opus.path.main,"scripts","hello.py"))
|
||||||
|
opus.main.output("",1)
|
||||||
|
|
||||||
|
if opus.verbosity > 0:
|
||||||
|
opus.main.output("-- paths --")
|
||||||
|
for path in opus.path:
|
||||||
|
opus.main.output(path + ": " +opus.path[path])
|
||||||
|
|
||||||
|
opus.main.output("")
|
||||||
|
|
||||||
|
opus.main.output("-- loading misc APIs --", 1)
|
||||||
|
|
||||||
|
opus.script.execute(pJoin(opus.path.api,"path.py"))
|
||||||
|
opus.script.execute(pJoin(opus.path.api,"wim.py"))
|
||||||
|
opus.script.execute(pJoin(opus.path.api,"registry.py"))
|
||||||
|
opus.script.execute(pJoin(opus.path.api,"detection.py"))
|
||||||
|
opus.script.execute(pJoin(opus.path.api,"tweak.py"))
|
||||||
|
|
||||||
|
opus.main.output("",1)
|
||||||
|
|
||||||
|
opus.script.execute(pJoin(opus.path.main,"scripts","path.py"))
|
||||||
|
|
||||||
|
opus.main.output("",1)
|
||||||
|
|
||||||
|
opus.temp.remove()
|
||||||
|
|
||||||
|
os.makedirs(pJoin(opus.path.temp,"wim"))
|
||||||
|
opus.wim.location = pJoin(opus.path.target,"sources","install.wim")
|
||||||
|
opus.wim.index = int(input("\nwim index: "))
|
||||||
|
opus.main.output("",1)
|
||||||
|
|
||||||
|
opus.wim.extractFiles([
|
||||||
|
pJoin("Windows","System32","config","SOFTWARE"),
|
||||||
|
pJoin("Windows","System32","config","SYSTEM"),
|
||||||
|
pJoin("Users","Default","NTUSER.DAT")
|
||||||
|
])
|
||||||
|
|
||||||
|
opus.main.output("",1)
|
||||||
|
|
||||||
|
opus.os = opus.detect.os(opus.wim.path())
|
||||||
|
|
||||||
|
for tag in opus.os.tags:
|
||||||
|
if not os.path.isdir(pJoin(opus.path.tweaks,tag)): continue
|
||||||
|
opus.tweak.apply.reg(tag,"SOFTWARE",pJoin("Windows","System32","config","SOFTWARE"))
|
||||||
|
opus.tweak.apply.reg(tag,"SYSTEM",pJoin("Windows","System32","config","SYSTEM"))
|
||||||
|
opus.tweak.apply.reg(tag,"NTUSER",pJoin("Users","Default","NTUSER.DAT"))
|
||||||
|
opus.tweak.apply.wim(tag)
|
||||||
|
opus.tweak.apply.iso(tag)
|
||||||
|
|
||||||
|
opus.main.output("\nif you'd like to make manual changes, please do so now. press enter to finalize or ctrl+c to cancel.")
|
||||||
|
input()
|
||||||
|
opus.wim.update()
|
||||||
|
opus.temp.remove()
|
7
scripts/path.py
Normal file
7
scripts/path.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
global os
|
||||||
|
import os
|
||||||
|
opus.main.output("expanding path...",1)
|
||||||
|
for root,dirs,files in opus.path.walklevel(pJoin(opus.path.main,"bin")):
|
||||||
|
for dir in dirs:
|
||||||
|
opus.main.output("adding: " +dir,1)
|
||||||
|
os.environ["Path"] = os.environ["Path"] + ";" + pJoin(root,dir)
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\Windows Search]
|
|
||||||
"AllowCortana"=dword:00000000
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config]
|
|
||||||
"DODownloadMode"=dword:00000000
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Control\Session Manager\Power]
|
|
||||||
"HiberbootEnabled"=dword:00000000
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Control\Session Manager\Power]
|
|
||||||
"HibernateEnabled"=dword:00000000
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\Personalization]
|
|
||||||
"NoLockScreen"=dword:00000001
|
|
||||||
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\e73a048d-bf27-4f12-9731-8b2076e8891f\637ea02f-bbcb-4015-8e2c-a1c7b9c0b546]
|
|
||||||
"ACSettingIndex"=dword:00000000
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Control\Power\User\PowerSchemes\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c\e73a048d-bf27-4f12-9731-8b2076e8891f\637ea02f-bbcb-4015-8e2c-a1c7b9c0b546]
|
|
||||||
"ACSettingIndex"=dword:00000000
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Control\Power\User\PowerSchemes\a1841308-3541-4fab-bc81-f71556f20b4a\e73a048d-bf27-4f12-9731-8b2076e8891f\637ea02f-bbcb-4015-8e2c-a1c7b9c0b546]
|
|
||||||
"ACSettingIndex"=dword:00000000
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Control\Memory Management]
|
|
||||||
"SwapfileControl"=dword:00000000
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
|
|
||||||
"OneDriveSetup"=""
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer] ; disables recent/frequent items in the explorer (quick access for example), taskbar context menus, etc...
|
|
||||||
"ShowRecent"=dword:00000000
|
|
||||||
"ShowFrequent"=dword:00000000
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] ; [windows 7 and older] disables recently opened documents in the start menu
|
|
||||||
"Start_TrackDocs"=dword:00000000
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Services\SysMain]
|
|
||||||
"Start"=dword:00000004
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\DataCollection]
|
|
||||||
"AllowTelemetry"=dword:00000000
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Microsoft\Windows Defender\Features]
|
|
||||||
"TamperProtection"=dword:00000000
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows Defender]
|
|
||||||
"DisableAntiSpyware"=dword:00000001
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Services\WSearch]
|
|
||||||
"Start"=dword:00000004
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
|
||||||
"HideFileExt"=dword:00000000
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows\SQMClient]
|
||||||
|
"CEIPEnable"=dword:00000000
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Control\Session Manager\Power]
|
||||||
|
"HibernateEnabled"=dword:00000000
|
||||||
|
|
@ -0,0 +1,11 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\e73a048d-bf27-4f12-9731-8b2076e8891f\637ea02f-bbcb-4015-8e2c-a1c7b9c0b546]
|
||||||
|
"ACSettingIndex"=dword:00000000
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Control\Power\User\PowerSchemes\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c\e73a048d-bf27-4f12-9731-8b2076e8891f\637ea02f-bbcb-4015-8e2c-a1c7b9c0b546]
|
||||||
|
"ACSettingIndex"=dword:00000000
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Control\Power\User\PowerSchemes\a1841308-3541-4fab-bc81-f71556f20b4a\e73a048d-bf27-4f12-9731-8b2076e8891f\637ea02f-bbcb-4015-8e2c-a1c7b9c0b546]
|
||||||
|
"ACSettingIndex"=dword:00000000
|
||||||
|
|
5
tweaks/longhorn-series/disable superfetch/reg/SYSTEM.REG
Normal file
5
tweaks/longhorn-series/disable superfetch/reg/SYSTEM.REG
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Services\SysMain]
|
||||||
|
"Start"=dword:00000004
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Services\WSearch]
|
||||||
|
"Start"=dword:00000004
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
||||||
|
"HideFileExt"=dword:00000000
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Microsoft\Windows\CurrentVersion\RunOnce]
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Microsoft\Windows\CurrentVersion\RunOnce]
|
||||||
"opus-nt-setupcomplete"="cmd /c call \"C:\\opus-nt-setupcomplete\\setupcomplete.bat\""
|
"opus-nt-setupcomplete"="cmd /c call \"C:\\opus-nt-setupcomplete\\setupcomplete.bat\""
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
; this sets the update channel to semi-annual, and additionally defers the updates for half a year
|
; this sets the update channel to semi-annual, and additionally defers the updates for half a year
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Microsoft\WindowsUpdate\UX\Settings]
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Microsoft\WindowsUpdate\UX\Settings]
|
||||||
"BranchReadinessLevel"=dword:00000020
|
"BranchReadinessLevel"=dword:00000020
|
||||||
"DeferFeatureUpdates"=dword:00000001
|
"DeferFeatureUpdates"=dword:00000001
|
||||||
"DeferFeatureUpdatesPeriodInDays"=dword:000000b7
|
"DeferFeatureUpdatesPeriodInDays"=dword:000000b7
|
@ -1,6 +1,6 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\System]
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows\System]
|
||||||
"AllowCrossDeviceClipboard"=dword:00000000
|
"AllowCrossDeviceClipboard"=dword:00000000
|
||||||
"EnableActivityFeed"=dword:00000000
|
"EnableActivityFeed"=dword:00000000
|
||||||
"PublishUserActivities"=dword:00000000
|
"PublishUserActivities"=dword:00000000
|
@ -1,9 +1,9 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
||||||
"ShowSyncProviderNotifications"=dword:00000000 ; no explorer "suggestions"
|
"ShowSyncProviderNotifications"=dword:00000000 ; no explorer "suggestions"
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager]
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager]
|
||||||
"SystemPaneSuggestionsEnabled"=dword:00000000 ; no start menu "suggestions"
|
"SystemPaneSuggestionsEnabled"=dword:00000000 ; no start menu "suggestions"
|
||||||
"SoftLandingEnabled"=dword:00000000 ; no "tips", "tricks" and "suggestions"
|
"SoftLandingEnabled"=dword:00000000 ; no "tips", "tricks" and "suggestions"
|
||||||
"SubscribedContent-338393Enabled"=dword:00000000 ; no settings "suggestions"
|
"SubscribedContent-338393Enabled"=dword:00000000 ; no settings "suggestions"
|
@ -1,5 +1,5 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Microsoft\Windows\CurrentVersion\Policies\System]
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Microsoft\Windows\CurrentVersion\Policies\System]
|
||||||
"DisableAutomaticRestartSignOn"=dword:00000001
|
"DisableAutomaticRestartSignOn"=dword:00000001
|
||||||
|
|
5
tweaks/ten/disable cortana/reg/SOFTWARE.REG
Normal file
5
tweaks/ten/disable cortana/reg/SOFTWARE.REG
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows\Windows Search]
|
||||||
|
"AllowCortana"=dword:00000000
|
||||||
|
|
5
tweaks/ten/disable cross-pc update/reg/SOFTWARE.REG
Normal file
5
tweaks/ten/disable cross-pc update/reg/SOFTWARE.REG
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config]
|
||||||
|
"DODownloadMode"=dword:00000000
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\WindowsUpdate]
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows\WindowsUpdate]
|
||||||
"ExcludeWUDriversInQualityUpdate"=dword:00000001
|
"ExcludeWUDriversInQualityUpdate"=dword:00000001
|
||||||
|
|
||||||
|
|
5
tweaks/ten/disable fast startup/reg/SYSTEM.REG
Normal file
5
tweaks/ten/disable fast startup/reg/SYSTEM.REG
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Control\Session Manager\Power]
|
||||||
|
"HiberbootEnabled"=dword:00000000
|
||||||
|
|
6
tweaks/ten/disable lock screen/reg/SOFTWARE.REG
Normal file
6
tweaks/ten/disable lock screen/reg/SOFTWARE.REG
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows\Personalization]
|
||||||
|
"NoLockScreen"=dword:00000001
|
||||||
|
|
||||||
|
|
5
tweaks/ten/disable metro app swapping/reg/SYSTEM.REG
Normal file
5
tweaks/ten/disable metro app swapping/reg/SYSTEM.REG
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Control\Memory Management]
|
||||||
|
"SwapfileControl"=dword:00000000
|
||||||
|
|
5
tweaks/ten/disable onedrive auto-install/reg/NTUSER.REG
Normal file
5
tweaks/ten/disable onedrive auto-install/reg/NTUSER.REG
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
|
||||||
|
"OneDriveSetup"=""
|
||||||
|
|
9
tweaks/ten/disable recently opened items/reg/NTUSER.REG
Normal file
9
tweaks/ten/disable recently opened items/reg/NTUSER.REG
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer] ; disables recent/frequent items in the explorer (quick access for example), taskbar context menus, etc...
|
||||||
|
"ShowRecent"=dword:00000000
|
||||||
|
"ShowFrequent"=dword:00000000
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] ; [windows 7 and older] disables recently opened documents in the start menu
|
||||||
|
"Start_TrackDocs"=dword:00000000
|
||||||
|
|
5
tweaks/ten/disable telemetry/reg/SOFTWARE.REG
Normal file
5
tweaks/ten/disable telemetry/reg/SOFTWARE.REG
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows\DataCollection]
|
||||||
|
"AllowTelemetry"=dword:00000000
|
||||||
|
|
8
tweaks/ten/disable windows defender/reg/SOFTWARE.REG
Normal file
8
tweaks/ten/disable windows defender/reg/SOFTWARE.REG
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Microsoft\Windows Defender\Features]
|
||||||
|
"TamperProtection"=dword:00000000
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows Defender]
|
||||||
|
"DisableAntiSpyware"=dword:00000001
|
||||||
|
|
@ -1,9 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<unattend xmlns="urn:schemas-microsoft-com:unattend">
|
<unattend xmlns="urn:schemas-microsoft-com:unattend">
|
||||||
<settings pass="windowsPE">
|
|
||||||
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
</component>
|
|
||||||
</settings>
|
|
||||||
<settings pass="oobeSystem">
|
<settings pass="oobeSystem">
|
||||||
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
<OOBE>
|
<OOBE>
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Microsoft\Windows\CurrentVersion\Policies\System]
|
|
||||||
"DisableAutomaticRestartSignOn"=-
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\Windows Search]
|
|
||||||
"AllowCortana"=-
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config]
|
|
||||||
"DODownloadMode"=-
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Control\Session Manager\Power]
|
|
||||||
"HiberbootEnabled"=dword:00000001
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Control\Session Manager\Power]
|
|
||||||
"HibernateEnabled"=-
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\Personalization]
|
|
||||||
"NoLockScreen"=-
|
|
||||||
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\e73a048d-bf27-4f12-9731-8b2076e8891f\637ea02f-bbcb-4015-8e2c-a1c7b9c0b546]
|
|
||||||
"ACSettingIndex"=dword:00000002
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Control\Power\User\PowerSchemes\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c\e73a048d-bf27-4f12-9731-8b2076e8891f\637ea02f-bbcb-4015-8e2c-a1c7b9c0b546]
|
|
||||||
"ACSettingIndex"=dword:00000002
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Control\Power\User\PowerSchemes\a1841308-3541-4fab-bc81-f71556f20b4a\e73a048d-bf27-4f12-9731-8b2076e8891f\637ea02f-bbcb-4015-8e2c-a1c7b9c0b546]
|
|
||||||
"ACSettingIndex"=dword:00000002
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Control\Memory Management]
|
|
||||||
"SwapfileControl"=dword:00000001
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer] ; disables recent/frequent items in the explorer (quick access for example), taskbar context menus, etc...
|
|
||||||
"ShowRecent"=-
|
|
||||||
"ShowFrequent"=-
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] ; [windows 7 and older] disables recently opened documents in the start menu
|
|
||||||
"Start_TrackDocs"=-
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Services\SysMain]
|
|
||||||
"Start"=dword:00000002
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\DataCollection]
|
|
||||||
"AllowTelemetry"=-
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows Defender]
|
|
||||||
"DisableAntiSpyware"=-
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Microsoft\Windows Defender\Features]
|
|
||||||
"TamperProtection"=-
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\ControlSet001\Services\WSearch]
|
|
||||||
"Start"=dword:00000002
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
Windows Registry Editor Version 5.00
|
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
|
||||||
"HideFileExt"=-
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows\SQMClient]
|
||||||
|
"CEIPEnable"=-
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Control\Session Manager\Power]
|
||||||
|
"HibernateEnabled"=-
|
||||||
|
|
@ -0,0 +1,11 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\e73a048d-bf27-4f12-9731-8b2076e8891f\637ea02f-bbcb-4015-8e2c-a1c7b9c0b546]
|
||||||
|
"ACSettingIndex"=dword:00000002
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Control\Power\User\PowerSchemes\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c\e73a048d-bf27-4f12-9731-8b2076e8891f\637ea02f-bbcb-4015-8e2c-a1c7b9c0b546]
|
||||||
|
"ACSettingIndex"=dword:00000002
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Control\Power\User\PowerSchemes\a1841308-3541-4fab-bc81-f71556f20b4a\e73a048d-bf27-4f12-9731-8b2076e8891f\637ea02f-bbcb-4015-8e2c-a1c7b9c0b546]
|
||||||
|
"ACSettingIndex"=dword:00000002
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Services\SysMain]
|
||||||
|
"Start"=dword:00000002
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Services\WSearch]
|
||||||
|
"Start"=dword:00000002
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
||||||
|
"HideFileExt"=-
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
; this sets the update channel to semi-annual, and additionally defers the updates for half a year
|
; this sets the update channel to semi-annual, and additionally defers the updates for half a year
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Microsoft\WindowsUpdate\UX\Settings]
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Microsoft\WindowsUpdate\UX\Settings]
|
||||||
"BranchReadinessLevel"=-
|
"BranchReadinessLevel"=-
|
||||||
"DeferFeatureUpdates"=-
|
"DeferFeatureUpdates"=-
|
||||||
"DeferFeatureUpdatesPeriodInDays"=-
|
"DeferFeatureUpdatesPeriodInDays"=-
|
@ -1,6 +1,6 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\System]
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows\System]
|
||||||
"AllowCrossDeviceClipboard"=-
|
"AllowCrossDeviceClipboard"=-
|
||||||
"EnableActivityFeed"=-
|
"EnableActivityFeed"=-
|
||||||
"PublishUserActivities"=-
|
"PublishUserActivities"=-
|
@ -1,9 +1,9 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
||||||
"ShowSyncProviderNotifications"=- ; no explorer "suggestions"
|
"ShowSyncProviderNotifications"=- ; no explorer "suggestions"
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager]
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager]
|
||||||
"SystemPaneSuggestionsEnabled"=dword:00000001 ; no start menu "suggestions"
|
"SystemPaneSuggestionsEnabled"=dword:00000001 ; no start menu "suggestions"
|
||||||
"SoftLandingEnabled"=dword:00000001 ; no "tips", "tricks" and "suggestions"
|
"SoftLandingEnabled"=dword:00000001 ; no "tips", "tricks" and "suggestions"
|
||||||
"SubscribedContent-338393Enabled"=- ; no settings "suggestions"
|
"SubscribedContent-338393Enabled"=- ; no settings "suggestions"
|
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Microsoft\Windows\CurrentVersion\Policies\System]
|
||||||
|
"DisableAutomaticRestartSignOn"=-
|
||||||
|
|
5
tweaksReversal/ten/disable cortana/reg/SOFTWARE.REG
Normal file
5
tweaksReversal/ten/disable cortana/reg/SOFTWARE.REG
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows\Windows Search]
|
||||||
|
"AllowCortana"=-
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config]
|
||||||
|
"DODownloadMode"=-
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
Windows Registry Editor Version 5.00
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
[HKEY_LOCAL_MACHINE\OPUS-NT_TMP\Policies\Microsoft\Windows\WindowsUpdate]
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows\WindowsUpdate]
|
||||||
"ExcludeWUDriversInQualityUpdate"=-
|
"ExcludeWUDriversInQualityUpdate"=-
|
||||||
|
|
5
tweaksReversal/ten/disable fast startup/reg/SYSTEM.REG
Normal file
5
tweaksReversal/ten/disable fast startup/reg/SYSTEM.REG
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Control\Session Manager\Power]
|
||||||
|
"HiberbootEnabled"=dword:00000001
|
||||||
|
|
6
tweaksReversal/ten/disable lock screen/reg/SOFTWARE.REG
Normal file
6
tweaksReversal/ten/disable lock screen/reg/SOFTWARE.REG
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows\Personalization]
|
||||||
|
"NoLockScreen"=-
|
||||||
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\ControlSet001\Control\Memory Management]
|
||||||
|
"SwapfileControl"=dword:00000001
|
||||||
|
|
@ -0,0 +1,9 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer] ; disables recent/frequent items in the explorer (quick access for example), taskbar context menus, etc...
|
||||||
|
"ShowRecent"=-
|
||||||
|
"ShowFrequent"=-
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] ; [windows 7 and older] disables recently opened documents in the start menu
|
||||||
|
"Start_TrackDocs"=-
|
||||||
|
|
5
tweaksReversal/ten/disable telemetry/reg/SOFTWARE.REG
Normal file
5
tweaksReversal/ten/disable telemetry/reg/SOFTWARE.REG
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows\DataCollection]
|
||||||
|
"AllowTelemetry"=-
|
||||||
|
|
@ -0,0 +1,8 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Policies\Microsoft\Windows Defender]
|
||||||
|
"DisableAntiSpyware"=-
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\OPUS_TMP\Microsoft\Windows Defender\Features]
|
||||||
|
"TamperProtection"=-
|
||||||
|
|
Loading…
Reference in New Issue
Block a user