Microsoft Windows

(Windows 10) Restore Documents location using Registry

Use this in a script: reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Personal" /t REG_SZ /d "<path to share>\%USERNAME%" /f reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "{f42ee2d3-909f-4907-8871-4c22fc0bf756}" /t REG_EXPAND_SZ /d "<path to share>\%USERNAME%" /f reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v "Personal" /t REG_EXPAND_SZ /d "<path to share&g...

Migrate Certificate Authority to a new server

Step 1: Backup Windows Server 2003 certificate authority database and its configuration 1. Log in to Windows 2003 Server as member of local administrator group 2. Go to Start > Administrative Tools > Certificate Authority (https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/48/12/metablogapi/clip_image002_55BF4D16.jpg) 3. Right Click on Server Node > All Tasks > Backup CA (https://msdnshared...

Mysterious Cab Files Fill-up temp folder

Mysterious cab files fill-up temp folder Our Labtech RMM recently spit out a warning that a client's 2008R2 server had their disk space filling up fast (Note they are not a premium customer): Upon closer inspection I found that every hour an unknow process would attempt to write a .cab file of approx 60MB to the Windows temp folder. Checking with Process Explorer I found that it was makecab.exe writing these files. Makecab was invoked by services.exe, so that was a bit of a dead end. I looked...

How to get a Non-Domain Connected PC/Server to activate Client KMS key

To check that a DNS Suffix is defined: * open a CMD prompt * type: ipconfig /all | find /i “Suffix” * the DNS suffixes (primary and search) should be displayed To check that the proper DNS record for KMS Server Auto-Discovery exists: * open a CMD prompt * type: nslookup -type=SRV _vlmcs._tcp * If a DNS record is found, it should be displayed * Remember: the client must have a Primary DNS suffix configured for this to work

Windows 10 :: Tricks to fix Error 0x80240017

Tricks to fix Error 0x80240017 in Windows 10 First trick : Executing System Update Readiness Command Step 1: Open CMD with Administrator privilege (Start button > Command Prompt with Admin) Step 2: Type or Copy paste "DISM.exe /Online /Cleanup-image /Scanhealth" and press “Enter” key. Step 3: After it Type or Copy paste "DISM.exe /Online /Cleanup-image /Restorehealth" and hit Enter key. Exit from the Command Prompt Window. Trick two: Reset Windows Update Components Manually. Step 1: O...