Category Archives: Registry

Cleaning up entries on Remote Desktop Connection

I use RDP between my main laptop and the machine on which my lab resides. When I rebuild the lab the entries in the Remote Desktop Connection for the old machine still remain. There isn’t a direct way to remove … Continue reading

Posted in Powershell, Registry | Leave a comment

Scripting Guy CDXML series

Today starts a four part series I’ve written for the Scripting Guy blog on using CDXML to create a module to work with the registry.  Don’t know what CDXML is – you will when you’ve read the series The first … Continue reading

Posted in CDXML, CIM, PowerShell and CIM, Registry | Leave a comment

When did Windows update last run

A question came up on the forum regarding when Windows Update last run and when an update was last installed.  Get-Hotfix shows the date of installation for most BUT not all patches. The registry holds values showing last successful detection … Continue reading

Posted in Powershell, Registry | Leave a comment

Registry oddity

Looking at modifying the registry on a virtual machine while its offline. I mount the VHDX file and can run this  to load the registry PS> reg load HKLM\VHDSYS h:\windows\system32\config\system The operation completed successfully. If I perform a reg unload … Continue reading

Posted in Powershell, Registry | 1 Comment

Decoding the mounted device information

In the previous post we looked at how to read the mounted device information. The data is in binary though – if you want it readable and not all of it is readable – try this $data = @() Get-Item … Continue reading

Posted in Powershell, Registry | Leave a comment

Reading mounted device information from the registry

Interesting question about reading the registry.  How do you read HKLM:\SYSTEM\MountedDevices and pull out the name of the device and the associated data. Get-Item -Path HKLM:\SYSTEM\MountedDevices returns data of this form Name                           Property —-                           ——– MountedDevices                 \DosDevices\C: : {218, 187, … Continue reading

Posted in Powershell, Registry | Leave a comment