mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-06-28 00:54:47 -05:00
2023-09-13 September Bug fixes and Feature Additions (#1024)
* Add Message confirming restore point created (#953) * Compile Winutil * readme update * Fix value for strings * remove idm paid software * add xdm * add peazip * Update winutil.ps1 * cleanup and tcpview addition * fix choco wiztree * Update tweaks.json * Add CTT YouTube tutorial video to the README (#1007) * Update edgeremoval.bat (#1009) Update Edge Removal - AveYo to 2023.09.09 * Update README.md update docs * Application Sort - DDU - Change in Runspace (#1013) * Application list sorted alphabetically * Indentation fix * Compiled winutil.ps1 * Indentation fix * Added Display Driver Uninstaller * Fix apps falsely marked as installed #1015 * Fix new golang package * music bee add #993 * Compile Winutil * Cleanup Tweaks * Compile Winutil * OneDrive Removal Fix #385 * Compile Winutil * Expand Common Issues in Readme * one drive cleanup fixes * Compile Winutil * OneDrive Reinstall * Compile Winutil * Edge undo change * Compile Winutil * Revert "Merge branch 'test-2023-08-09' into 2023-09-07-Test" This reverts commit3636dcb4bb
, reversing changes made todb4f4925d2
. * rebase fix 1 * Musicbee * uninstall fix * Update README.md * fix reinstalls on edge onedrive * Update winutil.ps1 * Display tweak unpin icons * Added tweaks for IPv6 (#1010) * ipv6 merge --------- Co-authored-by: Stephen Harris <stephen@lunamile.com> Co-authored-by: ChrisTitusTech <ChrisTitusTech@users.noreply.github.com> Co-authored-by: meenbeese <meenbeese@tutanota.com> Co-authored-by: Christian S <crian84@gmail.com> Co-authored-by: supplefrog <78985073+supplefrog@users.noreply.github.com> Co-authored-by: Joan Solana Raduà <joansolana@proton.me>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -29,14 +29,14 @@
|
||||
{
|
||||
"Path": "HKLM:\\System\\CurrentControlSet\\Control\\Session Manager\\Power",
|
||||
"Name": "HibernateEnabled",
|
||||
"Type": "Dword",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FlyoutMenuSettings",
|
||||
"Name": "ShowHibernateOption",
|
||||
"Type": "Dword",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1"
|
||||
}
|
||||
@ -71,21 +71,21 @@
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Sensor\\Overrides\\{BFA794E4-F964-4FDB-90F6-51056BFE4B44}",
|
||||
"Name": "SensorPermissionState",
|
||||
"Type": "Dword",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\lfsvc\\Service\\Configuration",
|
||||
"Name": "Status",
|
||||
"Type": "Dword",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\Maps",
|
||||
"Name": "AutoUpdateEnabled",
|
||||
"Type": "Dword",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1"
|
||||
}
|
||||
@ -1561,8 +1561,8 @@
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\DataCollection",
|
||||
"type": "Dword",
|
||||
"value": 0,
|
||||
"type": "DWord",
|
||||
"value": "0",
|
||||
"name": "AllowTelemetry",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
@ -1570,169 +1570,169 @@
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection",
|
||||
"OriginalValue": "1",
|
||||
"name": "AllowTelemetry",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"name": "ContentDeliveryAllowed",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"name": "OemPreInstalledAppsEnabled",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"name": "PreInstalledAppsEnabled",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"name": "PreInstalledAppsEverEnabled",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"name": "SilentInstalledAppsEnabled",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"name": "SubscribedContent-338387Enabled",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"name": "SubscribedContent-338388Enabled",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"name": "SubscribedContent-338389Enabled",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"name": "SubscribedContent-353698Enabled",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager",
|
||||
"OriginalValue": "1",
|
||||
"name": "SystemPaneSuggestionsEnabled",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent",
|
||||
"OriginalValue": "0",
|
||||
"name": "DisableWindowsConsumerFeatures",
|
||||
"value": 1,
|
||||
"type": "Dword"
|
||||
"value": "1",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Siuf\\Rules",
|
||||
"OriginalValue": "0",
|
||||
"name": "NumberOfSIUFInPeriod",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection",
|
||||
"OriginalValue": "0",
|
||||
"name": "DoNotShowFeedbackNotifications",
|
||||
"value": 1,
|
||||
"type": "Dword"
|
||||
"value": "1",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent",
|
||||
"OriginalValue": "0",
|
||||
"name": "DisableTailoredExperiencesWithDiagnosticData",
|
||||
"value": 1,
|
||||
"type": "Dword"
|
||||
"value": "1",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AdvertisingInfo",
|
||||
"OriginalValue": "0",
|
||||
"name": "DisabledByGroupPolicy",
|
||||
"value": 1,
|
||||
"type": "Dword"
|
||||
"value": "1",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting",
|
||||
"OriginalValue": "0",
|
||||
"name": "Disabled",
|
||||
"value": 1,
|
||||
"type": "Dword"
|
||||
"value": "1",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DeliveryOptimization\\Config",
|
||||
"OriginalValue": "1",
|
||||
"name": "DODownloadMode",
|
||||
"value": 1,
|
||||
"type": "Dword"
|
||||
"value": "1",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Remote Assistance",
|
||||
"OriginalValue": "1",
|
||||
"name": "fAllowToGetHelp",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\OperationStatusManager",
|
||||
"OriginalValue": "0",
|
||||
"name": "EnthusiastMode",
|
||||
"value": 1,
|
||||
"type": "Dword"
|
||||
"value": "1",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"OriginalValue": "1",
|
||||
"name": "ShowTaskViewButton",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\People",
|
||||
"OriginalValue": "1",
|
||||
"name": "PeopleBand",
|
||||
"value": 0,
|
||||
"type": "Dword"
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
"OriginalValue": "1",
|
||||
"name": "LaunchTo",
|
||||
"value": 1,
|
||||
"type": "Dword"
|
||||
"value": "1",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem",
|
||||
"OriginalValue": "0",
|
||||
"name": "LongPathsEnabled",
|
||||
"value": 1,
|
||||
"type": "Dword"
|
||||
"value": "1",
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"_Comment" : "Driver searching is a function that should be left in",
|
||||
@ -1740,49 +1740,49 @@
|
||||
"OriginalValue": "1",
|
||||
"name": "SearchOrderConfig",
|
||||
"value": "1",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile",
|
||||
"OriginalValue": "1",
|
||||
"name": "SystemResponsiveness",
|
||||
"value": "0",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile",
|
||||
"OriginalValue": "1",
|
||||
"name": "NetworkThrottlingIndex",
|
||||
"value": "4294967295",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "1",
|
||||
"name": "MenuShowDelay",
|
||||
"value": "1",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "1",
|
||||
"name": "AutoEndTasks",
|
||||
"value": "1",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management",
|
||||
"OriginalValue": "0",
|
||||
"name": "ClearPageFileAtShutdown",
|
||||
"value": "0",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\ControlSet001\\Services\\Ndu",
|
||||
"OriginalValue": "1",
|
||||
"name": "Start",
|
||||
"value": "2",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Control Panel\\Mouse",
|
||||
@ -1796,42 +1796,42 @@
|
||||
"OriginalValue": "20",
|
||||
"name": "IRPStackSize",
|
||||
"value": "30",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Windows Feeds",
|
||||
"OriginalValue": "1",
|
||||
"name": "EnableFeeds",
|
||||
"value": "0",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Feeds",
|
||||
"OriginalValue": "1",
|
||||
"name": "ShellFeedsTaskbarViewMode",
|
||||
"value": "2",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer",
|
||||
"OriginalValue": "1",
|
||||
"name": "HideSCAMeetNow",
|
||||
"value": "1",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games",
|
||||
"OriginalValue": "1",
|
||||
"name": "GPU Priority",
|
||||
"value": "8",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games",
|
||||
"OriginalValue": "1",
|
||||
"name": "Priority",
|
||||
"value": "6",
|
||||
"type": "Dword"
|
||||
"type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games",
|
||||
@ -1885,42 +1885,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"WPFMiscTweaksLapPower": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power\\PowerThrottling",
|
||||
"Name": "PowerThrottlingOff",
|
||||
"Type": "DWord",
|
||||
"Value": "00000000",
|
||||
"OriginalValue": "00000001"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Power",
|
||||
"Name": "HiberbootEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0000001",
|
||||
"OriginalValue": "0000000"
|
||||
}
|
||||
]
|
||||
},
|
||||
"WPFMiscTweaksPower": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power\\PowerThrottling",
|
||||
"Name": "PowerThrottlingOff",
|
||||
"Type": "DWord",
|
||||
"Value": "00000001",
|
||||
"OriginalValue": "00000000"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Power",
|
||||
"Name": "HiberbootEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0000000",
|
||||
"OriginalValue": "00000001"
|
||||
}
|
||||
]
|
||||
},
|
||||
"WPFMiscTweaksExt": {
|
||||
"registry": [
|
||||
{
|
||||
@ -2035,7 +1999,7 @@
|
||||
"name": "SearchboxTaskbarMode",
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
}
|
||||
},
|
||||
],
|
||||
"InvokeScript": [
|
||||
"Set-ItemProperty -Path \"HKCU:\\Control Panel\\Desktop\" -Name \"UserPreferencesMask\" -Type Binary -Value ([byte[]](144,18,3,128,16,0,0,0))"
|
||||
@ -2208,7 +2172,87 @@
|
||||
"
|
||||
],
|
||||
"UndoScript": [
|
||||
"winget install Microsoft.Edge"
|
||||
"
|
||||
Write-Host \"Install Microsoft Edge\"
|
||||
Start-Process -FilePath winget -ArgumentList \"install -e --accept-source-agreements --accept-package-agreements --silent Microsoft.Edge \" -NoNewWindow -Wait
|
||||
"
|
||||
]
|
||||
},
|
||||
"WPFEssTweaksRemoveOnedrive": {
|
||||
"InvokeScript": [
|
||||
"
|
||||
|
||||
Write-Host \"Kill OneDrive process\"
|
||||
taskkill.exe /F /IM \"OneDrive.exe\"
|
||||
taskkill.exe /F /IM \"explorer.exe\"
|
||||
|
||||
Write-Host \"Copy all OneDrive to Root UserProfile\"
|
||||
Start-Process -FilePath robocopy -ArgumentList \"$env:USERPROFILE\\OneDrive $env:USERPROFILE /e /xj\" -NoNewWindow -Wait
|
||||
|
||||
Write-Host \"Remove OneDrive\"
|
||||
Start-Process -FilePath winget -ArgumentList \"uninstall -e --purge --force --silent Microsoft.OneDrive \" -NoNewWindow -Wait
|
||||
|
||||
Write-Host \"Removing OneDrive leftovers\"
|
||||
Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \"$env:localappdata\\Microsoft\\OneDrive\"
|
||||
Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \"$env:programdata\\Microsoft OneDrive\"
|
||||
Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \"$env:systemdrive\\OneDriveTemp\"
|
||||
# check if directory is empty before removing:
|
||||
If ((Get-ChildItem \"$env:userprofile\\OneDrive\" -Recurse | Measure-Object).Count -eq 0) {
|
||||
Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \"$env:userprofile\\OneDrive\"
|
||||
}
|
||||
|
||||
Write-Host \"Remove Onedrive from explorer sidebar\"
|
||||
Set-ItemProperty -Path \"HKCR:\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\" -Name \"System.IsPinnedToNameSpaceTree\" -Value 0
|
||||
Set-ItemProperty -Path \"HKCR:\\Wow6432Node\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}\" -Name \"System.IsPinnedToNameSpaceTree\" -Value 0
|
||||
|
||||
Write-Host \"Removing run hook for new users\"
|
||||
reg load \"hku\\Default\" \"C:\\Users\\Default\\NTUSER.DAT\"
|
||||
reg delete \"HKEY_USERS\\Default\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run\" /v \"OneDriveSetup\" /f
|
||||
reg unload \"hku\\Default\"
|
||||
|
||||
Write-Host \"Removing startmenu entry\"
|
||||
Remove-Item -Force -ErrorAction SilentlyContinue \"$env:userprofile\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\OneDrive.lnk\"
|
||||
|
||||
Write-Host \"Removing scheduled task\"
|
||||
Get-ScheduledTask -TaskPath '\\' -TaskName 'OneDrive*' -ea SilentlyContinue | Unregister-ScheduledTask -Confirm:$false
|
||||
|
||||
# Add Shell folders restoring default locations
|
||||
Write-Host \"Shell Fixing\"
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"AppData\" -Value \"$env:userprofile\\AppData\\Roaming\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"Cache\" -Value \"$env:userprofile\\AppData\\Local\\Microsoft\\Windows\\INetCache\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"Cookies\" -Value \"$env:userprofile\\AppData\\Local\\Microsoft\\Windows\\INetCookies\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"Favorites\" -Value \"$env:userprofile\\Favorites\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"History\" -Value \"$env:userprofile\\AppData\\Local\\Microsoft\\Windows\\History\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"Local AppData\" -Value \"$env:userprofile\\AppData\\Local\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"My Music\" -Value \"$env:userprofile\\Music\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"My Video\" -Value \"$env:userprofile\\Videos\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"NetHood\" -Value \"$env:userprofile\\AppData\\Roaming\\Microsoft\\Windows\\Network Shortcuts\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"PrintHood\" -Value \"$env:userprofile\\AppData\\Roaming\\Microsoft\\Windows\\Printer Shortcuts\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"Programs\" -Value \"$env:userprofile\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"Recent\" -Value \"$env:userprofile\\AppData\\Roaming\\Microsoft\\Windows\\Recent\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"SendTo\" -Value \"$env:userprofile\\AppData\\Roaming\\Microsoft\\Windows\\SendTo\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"Start Menu\" -Value \"$env:userprofile\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"Startup\" -Value \"$env:userprofile\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"Templates\" -Value \"$env:userprofile\\AppData\\Roaming\\Microsoft\\Windows\\Templates\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"{374DE290-123F-4565-9164-39C4925E467B}\" -Value \"$env:userprofile\\Downloads\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"Desktop\" -Value \"$env:userprofile\\Desktop\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"My Pictures\" -Value \"$env:userprofile\\Pictures\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"Personal\" -Value \"$env:userprofile\\Documents\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"{F42EE2D3-909F-4907-8871-4C22FC0BF756}\" -Value \"$env:userprofile\\Documents\" -Type ExpandString
|
||||
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\" -Name \"{0DDD015D-B06C-45D5-8C4C-F59713854639}\" -Value \"$env:userprofile\\Pictures\" -Type ExpandString
|
||||
Write-Host \"Restarting explorer\"
|
||||
Start-Process \"explorer.exe\"
|
||||
|
||||
Write-Host \"Waiting for explorer to complete loading\"
|
||||
Write-Host \"Please Note - OneDrive folder may still have items in it. You must manually delete it, but all the files should already be copied to the base user folder.\"
|
||||
Start-Sleep 5
|
||||
"
|
||||
],
|
||||
"UndoScript": [
|
||||
"
|
||||
Write-Host \"Install OneDrive\"
|
||||
Start-Process -FilePath winget -ArgumentList \"install -e --accept-source-agreements --accept-package-agreements --silent Microsoft.OneDrive \" -NoNewWindow -Wait
|
||||
"
|
||||
]
|
||||
},
|
||||
"WPFMiscTweaksDisableNotifications": {
|
||||
@ -2248,17 +2292,6 @@
|
||||
"
|
||||
]
|
||||
},
|
||||
"WPFMiscTweaksDisableTPMCheck": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\Setup\\MoSetup",
|
||||
"Name": "AllowUpgradesWithUnsupportedTPM",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"OriginalValue": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"WPFMiscTweaksDisableUAC": {
|
||||
"registry": [
|
||||
{
|
||||
@ -2337,15 +2370,6 @@
|
||||
Get-ChildItem -Path $env:TEMP *.* -Recurse | Remove-Item -Force -Recurse"
|
||||
]
|
||||
},
|
||||
"WPFEssTweaksRemoveCortana": {
|
||||
"InvokeScript": [
|
||||
"Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage"
|
||||
],
|
||||
"UndoScript": [
|
||||
"Get-AppxPackage -allusers | where Name -like \"Microsoft.549981C3F5F10\" | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register \"$($_.InstallLocation)\\AppXManifest.xml\"}
|
||||
"
|
||||
]
|
||||
},
|
||||
"WPFEssTweaksDVR": {
|
||||
"registry": [
|
||||
{
|
||||
@ -2398,9 +2422,25 @@
|
||||
"OriginalValue": "1",
|
||||
"Name": "BingSearchEnabled",
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search",
|
||||
"Type": "DWORD",
|
||||
"Type": "DWord",
|
||||
"Value": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"WPFMiscTweaksDisableipsix": {
|
||||
"InvokeScript": [
|
||||
"Disable-NetAdapterBinding -Name '*' -ComponentID ms_tcpip6"
|
||||
],
|
||||
"UndoScript": [
|
||||
"Enable-NetAdapterBinding -Name '*' -ComponentID ms_tcpip6"
|
||||
]
|
||||
},
|
||||
"WPFMiscTweaksEnableipsix": {
|
||||
"InvokeScript": [
|
||||
"Enable-NetAdapterBinding -Name '*' -ComponentID ms_tcpip6"
|
||||
],
|
||||
"UndoScript": [
|
||||
"Disable-NetAdapterBinding -Name '*' -ComponentID ms_tcpip6"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user