Leee Jeffries

Recent Posts

Cleaning up unlinked Group Policy objects in Active Directory with Powershell

Just a quick script below to run through all unlinked GPO’s in a domain, back them up, export a report and then remove them. Sweet and short but useful. (# Comment the remove line if you don’t want to remove any) Import-Module GroupPolicy $backupPath="C:\Users\jeffrl-p\Desktop\Backup_GPO" if (-Not(Test-Path -Path $backupPath)) { mkdir $backupPath } Get-GPO -All | Sort-Object d...

Just a quick script below to run through all unlinked GPO’s in a domain, back them up, export a report and then remove them. Sweet and short but useful. (# Comment the remove line if you don’t want to remove any) Import-Module GroupPolicy $backupPath="C:\Users\jeffrl-p\Desktop\Backup_GPO&q...

Migrating Virtual Machine Storage from Standard to Premium in Azure Classic

In Azure you can choose between 3 different types of storage for your virtual machines. These 3 different types are: Standard Blob Storage Capped to 500 IOPs per disk for a standard VM 60MBps throughput rate per disk https://docs.microsoft.com/en-us/azure/virtual-machines/windows/standard-storage Premium Blob Storage Capped at a speci...

In Azure you can choose between 3 different types of storage for your virtual machines. These 3 different types are: Standard Blob Storage Capped to 500 IOPs per disk for a standard VM 60MBps throughput rate per disk https://docs.microsoft.com/en-us/azure/virtual...

Reinstating Classic Windows Photo Viewer in Server 2016

Some people really prefer the older style photo viewer from Windows 7/2008R2 and I have had a few requests for this to be re-instated in Windows 10/Server 2016. I have compromised a guide below which outlines to necessary steps in order to be able to allow Photo Viewer to launch and then to create the relevant file associations and make them stick with all users in the environment. The first ...

Some people really prefer the older style photo viewer from Windows 7/2008R2 and I have had a few requests for this to be re-instated in Windows 10/Server 2016. I have compromised a guide below which outlines to necessary steps in order to be able to allow Photo Viewer to launch and then to crea...

Add “This PC” shortcut to user’s desktops on Windows Server 2016

I ran into a query from a client recently: “Please can you add a “This PC” shortcut to all user’s desktop for me?” If you have rolled out a Virtual Desktop on server 2016 and are being asked how to do this, here is how via Microsoft Group Policy. Add an Entry to a user policy like this: PATH: -HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStart...

I ran into a query from a client recently: “Please can you add a “This PC” shortcut to all user’s desktop for me?” If you have rolled out a Virtual Desktop on server 2016 and are being asked how to do this, here is how via Microsoft Group Policy. Add an Entry to a user policy like this: P...

Import .reg files into Microsoft Group Policy

-–Update - 01.03.20 A very friendly fellow by the name of Dennis Mutsaers was kind enough to review the script code a tweak it a little to remove an error in one of my below screenshots. Thanks Dennis - @dennismutsaers -–Update - 01.03.20 In some scenarios I’ve been passed a .reg file that needs to be applied to live running servers. I am a fan of deploying all settings possible using GPO’...

-–Update - 01.03.20 A very friendly fellow by the name of Dennis Mutsaers was kind enough to review the script code a tweak it a little to remove an error in one of my below screenshots. Thanks Dennis - @dennismutsaers -–Update - 01.03.20 In some scenarios I’ve been passed a .reg file that n...