Windows Explorer MRU (most recently used) clear search powershell script

This one line powershell script will clear the Windows Explorer MRU (most recently used) search list.

The downloaded zip file also includes both the ps1 script and a compiled exe (executable) version of the script for those who want to run it without launching powershell or if you want to place the exe in your windows start-up folder to clear the search entries each time you start windows.  It works on Vista, Windows 7 or windows 8 and server 2008 or 2012. Getting to your startup folder in Windows 8 or Server 2012 requires browsing to the  location below

C:\Users\<User Profile folder name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Advertisements

Restoring deleted or messed up srv records in Windows Server 2012

There are occasions when you play with things you shouldn’t.  In those cases where you accidentally delete your SRV records it is very easy to get them back.

Go to an administrative command prompt an type nltest /dsregdns

Check the short 60 second video below.

Using Windows PowerShell to convert from a Windows Server 2012 Core installation to a Windows Server 2012 with a GUI installation

When you install Windows Server 2012, you can choose between Server Core Installation and Server with a GUI. The “Server with a GUI” option is the Windows Server 2012 equivalent of the Full installation option available in Windows Server 2008 R2. The “Server Core Installation” option reduces the space required on disk, the potential attack surface, and especially the servicing requirements. You can freely switch between these options at any time., one approach might be to initially install the Server with a GUI option, use the graphical tools to configure the you can freely switch between these options at any time later.

To add the Server with a GUI  to a Server Core from the  windows server core  command prompt  type

start powershell

In PowerShell type

Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Restart

This will start the installation of the gui feature and restart the system when it completes.

Once the system restarts and you login you will be presented with the standard windows server 2012 with the GUI

Check the short video below for a demonstration.