Sep 4, 2026

Windows 11 : Useful Registry

Below are some of the Registry entry or modification for Windows 11 that I find useful or convenient, it may not suit you thus use it sparingly.

Just copy the registry setting in those boxes into a Notepad and save it as *.reg to your preferred folder location and import it afterward.


1. Change "Search" box to icon.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search]
"SearchboxTaskbarMode"=dword:00000001



2. Disable "Network Connected Devices (NCD)" auto setup.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NcdAutoSetup\Private]
"AutoSetup"=dword:00000000




3. Disable Drivers searching and update in Windows Update.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching]
"SearchOrderConfig"=dword:00000000




4. Disable "Search" from searching the Internet & suggestions Apps or Advertisements. May need to re-build the "Index" afterward.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Explorer]
"DisableSearchBoxSuggestions"=dword:00000001




5.  Disable download Updates from other PC, this will prevent computer from downloading updates from another PC or allow upload of updates to another PC.

Windows Registry Editor Version 5.00

[HKEY_USERS\S-1-5-20\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Settings]
"DownloadMode"=dword:00000000
"DownloadModeProvider"=dword:00000008




6. Enable "Classic" Context Menu.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
@=""




7. Disable Outlook auto prompt for Microsoft Account Sign-in to MS365.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover]
"ExcludeExplicitO365Endpoint"=dword:00000001




8. Disable Adobe Reader DC auto prompt for Adobe Account sign-in to Adobe Cloud.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\DC\FeatureLockDown]
"bIsSCReducedModeEnforcedEx"=dword:00000001




9. Disable PC Fast Startup option (optional but recommended for slow mechanical HDD system).
 
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"AcPolicy"=hex:01,00,00,00,06,00,00,00,03,00,00,00,00,00,00,00,02,00,00,00,03,\
  00,00,00,00,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,18,f5,\
  06,00,02,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,32,00,00,00,02,00,00,\
  00,04,00,00,00,02,00,00,00,01,00,00,00,34,00,37,00,00,00,00,00,03,00,00,00,\
  01,00,00,00,03,00,00,00,02,00,00,00,00,00,00,c0,01,00,00,00,05,00,00,00,01,\
  00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,b0,04,00,00,\
  35,00,33,00,39,00,38,00,2d,00,31,00,35,00,38,00,00,00,00,00,01,64,64,32,02,\
  00,00,00,04,00,00,c0,00,00,00,00
"AcProcessorPolicy"=hex:01,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,a0,86,\
  01,00,a0,86,01,00,a0,86,01,00,28,32,00,00,02,00,00,00,a0,86,01,00,a0,86,01,\
  00,a0,86,01,00,28,3c,00,00,03,00,00,00,a0,86,01,00,a0,86,01,00,a0,86,01,00,\
  28,50,00,00,01,00,00,00
"DcPolicy"=hex:01,00,00,00,06,00,00,00,03,00,00,00,00,00,00,00,02,00,00,00,03,\
  00,00,00,00,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,31,00,\
  38,00,02,00,00,00,00,00,00,00,00,00,00,00,2c,01,00,00,32,03,30,00,04,00,00,\
  00,04,00,00,00,02,00,00,00,01,00,00,00,00,00,90,19,84,03,00,00,03,00,00,00,\
  01,00,00,00,03,00,00,00,02,00,00,00,00,00,00,c0,01,00,00,00,05,00,00,00,01,\
  00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,2c,01,00,00,\
  01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,58,02,00,00,01,50,64,32,02,\
  00,00,00,04,00,00,c0,00,00,00,00
"DcProcessorPolicy"=hex:01,00,00,00,03,00,00,00,00,00,00,00,03,00,00,00,a0,86,\
  01,00,a0,86,01,00,a0,86,01,00,0a,14,00,00,02,00,00,00,a0,86,01,00,a0,86,01,\
  00,a0,86,01,00,14,28,00,00,03,00,00,00,a0,86,01,00,a0,86,01,00,a0,86,01,00,\
  14,46,00,00,01,00,00,00
"HBFlagsSwitch"=dword:00000001
"HiberbootEnabled"=dword:00000000
"PowerSettingProfile"=dword:00000000
"SleepStudyDeviceAccountingLevel"=dword:00000004
"WatchdogResumeTimeout"=dword:00000078
"WatchdogSleepTimeout"=dword:0000012c
"POSTTime"=dword:00001146
"BootmgrUserInputTime"=dword:00000000
"FwPOSTTime"=dword:00001145
"SystemPowerPolicy"=hex:01,00,00,00,03,00,00,00,00,00,00,00,00,00,00,00,03,00,\
  00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,00,00,00,00,00,00,01,00,00,\
  00,00,00,00,00,03,00,00,00,00,00,00,00,00,00,00,00,08,07,00,00,5a,00,00,00,\
  04,00,00,00,04,00,00,00,04,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,01,\
  00,00,00,01,00,00,00,05,00,00,00,03,00,00,00,00,00,00,00,01,00,00,00,04,00,\
  00,00,00,00,00,00,0a,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,04,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,04,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00
"TotalResumeTime"=dword:00001f0d
"ResumeBootMgrTime"=dword:000000ca
"ResumeAppTime"=dword:000001e7
"ResumeAppStartTimestamp"=dword:00001215
"ResumeLibraryInitTime"=dword:0000002b
"ResumeInitTime"=dword:00000032
"ResumeHiberFileTime"=dword:00000166
"ResumeRestoreImageStartTimestamp"=dword:00001273
"ResumeIoTime"=dword:00000033
"ResumeDecompressTime"=dword:000000e2
"ResumeMapTime"=dword:00000040
"ResumeUnmapTime"=dword:00000001
"ResumeUserInOutTime"=dword:00000000
"ResumeAllocateTime"=dword:00000007
"ResumeKernelSwitchTimestamp"=dword:000013fc
"KernelReturnFromHandlerTimestamp"=dword:00001433
"SleeperThreadEndTimestamp"=dword:00001cf2
"TimeStampCounterAtSwitchTime"=dword:00001426
"KernelReturnSystemPowerState"=dword:00001f03
"HiberHiberFileTime"=dword:00000554
"HiberInitTime"=dword:00000081
"HiberSharedBufferTime"=dword:00000001
"TotalHibernateTime"=dword:00000bd5
"KernelResumeHiberFileTime"=dword:000007d3
"KernelResumeInitTime"=dword:00000029
"KernelResumeSharedBufferTime"=dword:0000000c
"DeviceResumeTime"=dword:000000f0
"KernelAnimationTime"=dword:00000024
"KernelPagesProcessed"=dword:000448d3
"KernelPagesWritten"=hex(b):90,8e,01,00,00,00,00,00
"BootPagesProcessed"=dword:0000dc84
"BootPagesWritten"=hex(b):f8,12,00,00,00,00,00,00
"HiberWriteRate"=dword:0000013e
"HiberCompressRate"=dword:00000028
"ResumeReadRate"=dword:000000d1
"ResumeDecompressRate"=dword:00000074
"FileRuns"=dword:00000002
"NoMultiStageResumeReason"=dword:00000000
"MaxHuffRatio"=dword:00000063
"SecurePagesProcessed"=dword:00000000
"HiberChecksumTime"=dword:00000030
"HiberChecksumIoTime"=dword:00000006
"ResumeChecksumTime"=dword:00000000
"ResumeChecksumIoTime"=dword:00000000
"KernelChecksumTime"=dword:0000003c
"KernelChecksumIoTime"=dword:00000008
"KernelResumeIoCpuTime"=dword:0000011e
"HiberIoCpuTime"=dword:0000006c
"HybridBootAnimationTime"=dword:00000929
"ResumeCompleteTimestamp"=hex(b):43,28,01,00,00,00,00,00

 


!!! HAPPY COMPUTING !!!

Proxmox VE : Upgrade existing OS HDD (LVM)

Proxmox VE, upgrade existing OS HDD.

A single SATA HDD with LVM (ext4), OS drive configurations, without losing any PVE configurations & data. This methods only works with LVM type, not ZFS type.

Firstly, you need to have CloneZilla downloaded and ready (refer here for more info https://danielcheah.blogspot.com/2023/08/clonezilla-backup-restore-computer-disk.html).

You also need a "Blank" external HDD/SSD or any storage with sufficient capacity to store the backup image, recommended to have at least 1TB. But if your existing OS drive is already 1TB then you need a larger capacity such as 2TB. The storage of the backup must always be larger than the size of the HDD you want to backup.


Let's get started :-

1. Backup the existing PVE OS drive into an image via CloneZilla (more info here https://danielcheah.blogspot.com/2023/08/clonezilla-backup-restore-computer-disk.html).


2. Replace the OS drive with a brand new drive, in this case a larger capacity (eg. from 256GB to 1TB).


3. Restore the image into the new drive using CloneZilla. Ensure you select "Use partition table & size from the image" option during restore.


4. Boot-up the system with the new drive, there should not be any problems because PVE will recognized it as the same drive as before.


5. Login to the PVE server, now we need to truncate8 the systemd journal log files to the last 50MB, open --> Shell

journalctl --vacuum-size=50M


6. Next, is to delete the .deb cached installation packages.

apt-get clean


7. Next, is to clear all temporary files.

rm -rf /tmp/* /var/tmp/*


8. To delete old system log files.

rm -f /var/log/*.gz /var/log/*.1 /var/log/*.[0-9]


9. To delete old or unused ISO files (eg. ubutnu.iso). This step is optional but recommended.

rm -f /var/lib/vz/template/iso/ubuntu.iso


10. Remove backup files generated locally by PVE.

rm -f /var/lib/vz/dump/*


11. Then we need to update the repositories.

apt update


12. Next, we need to install a utility to extend the space of the newly added drive.

apt install cloud-guest-utils -y


13. First, relocate the GPT Backup Header.

sgdisk -e /dev/sda


14. Extend the Third Partition (the physical LVM Volume) to use the 100% capacity of the remaining unallocated disk space.

growpart /dev/sda 3


15. Resize the LVM Physical Volume.

pvresize /dev/sda3


16. Finally is to verify the expansion.

lvs
OR

df -h
OR

df -T


17. Reboot the system and double check again for confirmation.


18. End.



!!! HAPPY COMPUTING !!!