Skip to content

Instantly share code, notes, and snippets.

@viteo
Last active February 8, 2021 12:27
Show Gist options
  • Save viteo/3c808ab9f53159034a39468f22449a43 to your computer and use it in GitHub Desktop.
Save viteo/3c808ab9f53159034a39468f22449a43 to your computer and use it in GitHub Desktop.
Windows 10 20h2 settings
1. Change Account picture
Determine your account's SID in PowerShell:
$user = New-Object System.Security.Principal.NTAccount("USERNAME")
$sid = $user.Translate([System.Security.Principal.SecurityIdentifier])
echo $sid.Value
This should produce the SID which looks something like this: S-1-5-21-999999999-999999999-9999999999-9999
Create 40x40, 96x96, 200x200, 240x240, 448x448 jpg images and place them somewhere. e.g. "C:\Users\Public\AccountPictures\USERNAME"
Open up registry editor, and find this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture\Users
Add key under "Users" key named as your $sid.Value
Under this sid key create string (REG_SZ) values for each image you created earlier:
KeyName Value
Image40 C:\Users\Public\AccountPictures\USERNAME\Image40.jpg
Image96 C:\Users\Public\AccountPictures\USERNAME\Image96.jpg
...
Image448 C:\Users\Public\AccountPictures\USERNAME\Image448.jpg
2. Setup Dark Mode
Go HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize
Add new value DWORD-Value (32-Bit) named AppsUseLightTheme and set it to 0
3. Disable taskbar grouping
Open Local Group Policy Editor. User Configuration->Administrative Templates->Start Menu and Taskbar.
Enable "Prevent grouping of taskbar items" to prevent grouping.
4. Disable QuickAccess in Explorer
Go HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
Create a new DWORD value named 'HubMode' and set its value to 1
5. Remove 3D-Objects, Documents, Music etc folders from Explorer
Change "ThisPCPolicy" from "Show" to "Hide":
Documents Folder:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{f42ee2d3-909f-4907-8871-4c22fc0bf756}\PropertyBag
Pictures Folder:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{0ddd015d-b06c-45d5-8c4c-f59713854639}\PropertyBag
Videos Folder:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{35286a68-3c57-41a1-bbb1-0eae73d76c95}\PropertyBag
Downloads Folder:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{7d83ee9b-2244-4e70-b1f5-5393042af1e4}\PropertyBag
Music Folder:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{a0c69a99-21c8-4671-8703-7934162fcf1d}\PropertyBag
Desktop Folder:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}\PropertyBag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment