PowerActions for vSphere Web Client

PowerActions 1.5.0 is now available for vSphere 6.0 Web Client


“PowerActions integrates the vSphere Web Client and PowerCLI to provide complex automation solutions from within the standard vSphere management client.

PowerActions is deployed as a plugin for the vSphere Web Client and will allow you to execute PowerCLI commands and scripts in a vSphere Web Client integrated Powershell console.”

Download PowerActions 1.5.0 here


How to Disable Windows Defender

1) Open Control Panel
2) Open up Windows Defender
3) Click Tools on the top menu
4) Click on Options
5) Find the Administrator section, uncheck the box for “Use this program”
6) Click the Save button.

Now open services.msc

7) Select Windows Defender
8) Right click and select properties
8) Stop the service
9) Change Startup type to Disabled.

Create or Remove A Static Route in a Microsoft Windows OS

Route traffic via a specific NIC and IP in most Microsoft Windows operating systems.

Quick guide to create a static route in windows or remove a static route in a windows OS.

List static routes
Administrator command prompt
route print

Create a Static Route
Administrator command prompt
Add example :
route add -p mask if 2 metric 5

“if” is the network card number to route through.
metric is calculating the fastest, most reliable, and least expensive routes
-p Persistent
ipconfig /all (Shows the NIC for “if” number.)

Deleting a Static Route
Administrator command prompt
Delete example :
route delete

Remote Desktop Server – Customisation and Useful GPO settings

User cannot change an expired user account password in a remote desktop session that connects to a Windows Server 2008 R2-based RD Session Host server in a VDI environment

Hotfix Download Available


  1. 1. Open the following file: %systemDrive%/windows/web/rdweb/pages/web.config
  2. Set the following value to TRUE: <!– PasswordChangeEnabled: Provides password change page for users. Value must be “true” or “false” –> <add key=”PasswordChangeEnabled” value=”false” />



Disable IE security in a GPO using reg change




Set Trust sites




Setup SSO & disable remote app prompt  




Deploying RD Session Host Servers or Farms



How to Remove the Access Messages and Enable the Single Sign On for RemoteApps




Deploy Certificates by Using Group Policy




Enable RDC Client Single Sign-On for Remote Desktop Services






How to resolve the issue: “A website wants to start a remote connection. The publisher of this remote connection cannot be identified.”




Do you trust the publisher of this RemoteApp Program? prompt even though the Publisher is trusted?




Create a Self-Signed Server Certificate in IIS 7




IT: How To Create a Self Signed Security (SSL) Certificate and Deploy it to Client Machines







Makecert.exe (Certificate Creation Tool)


Tested example (sets the start date to 30.6.15 and the end dates is 20yrs+ later.

makecert.exe -r -pe -n “CN=rdscluster.test.world.com” -eku -b 06/30/2015 -ss my -sr localmachine -sky exchange -sp “Microsoft RSA SChannel Cryptographic Provider” -sy 12 “E:\Media\Cert\rdscluster.test.world.com.cer”



About Digitally Signing RemoteApp Programs




Create RDS Farm – Check list




Install the RD Connection Broker Role Service




Add Each RD Session Host Server in the Farm to the Session Broker Computers Local Group




Configure an RD Session Host Server to Join a Farm in RD Connection Broker




Configure DNS for RD Connection Broker Load Balancing




Limit Profile Size



Note Files deleted from a network share do not go to the recycle bin. They are deleted permanently





Empty recycle bin at log off… GPO log off script –

User Configuration – POLICIES. WINDOWS SETTINGS – SCRIPTS – Logon/Logoff

Add Empty recycle bin batch




del /s /q .


Types of profiles




User Configuration – Administrative Templates – System – Logon/Logoff




      1. A Create one policy for admins with show all drives https://support.microsoft.com/en-us/kb/231289
      2. Create a second policy for all users with hide all drives and a deny apply policy for admins https://support.microsoft.com/en-us/kb/816100
      3. Third policy has all the terminal server config details



Temporary Profiles Loading


Enable replication failed : Hyper-V is not in a state to accept replication on the replica server

After replication was broken, Hyper-V failed  to setup Virtual Machine Replication

Error : Enable replication failed Hyper-V is not in a state to accept replication on the replica server

Enable replication failed Hyper-V is not in a state to acept replication on the replica server

Fix – Option

1) Delete the Virtual Machine from the replica server and setup replication from the primary


2) During the setup of replication, specify the export of the Virtual Machine to replicate on the replica server

Enable Virtual Machine replication in Hyper-V (Microsoft Server 2012)

Guide to Virtual Machine replication in Hyper-V (Microsoft Server 2012)

Open Hyper-V manager and select the virtual machine to replicate

enable vm replication 1

Select – Enable Replication

enable vm replication 2

Click Next to continue


enable vm replication 3

Select the replica server (Also running Hyper-V)

enable vm replication 4

Specify the connection type (Kerberos or Certificate)

enable vm replication 5

Select the VHDX file to replicate

enable vm replication 6

select replication options

enable vm replication 7

Send replication over the network or select replica export file

enable vm replication 8

Click Finish

enable vm replication 9

Virtual Machine replication will start
enable vm replication 10


Please note. This is a rough example and your should research your own methods and setup

How to remove a file lock manually in Microsoft Server 2008

How to remove a file lock manually in MS Server 2008

Open Administrative Tools -> Share and Storage Management.

From the Actions pane, click Manage Open Files.

All locked files and folders should be visible on this server.

To clear a lock, select the relevant file and click “Close Selected”.

Note only use this method if other option to close / unlock a file have been tried and a user definitely not using the the file, otherwise data loss may occur.

SQL Server 2005 database has grown too big and filled the hard disk

Microsoft SQL Server 2005 database has grown too big and filled the hard disk

How much available free disk space ?
How much available free database space ?
How to free up some disk space by shrinking the database?

A quick run through

My Computer shows
C:\ OS with free space
E:\ The DB drive FULL
L:\ The logs drive with free space

On E:\ identify which database has grown and filled the disk

Open MS SQL Management Studio
Login with domain account or a SQL database admin credentials – (SA will have these rights)

Right click the offending database

Select tasks -> shrink – > files

It will then show you how much is available to shrink

ie. E:\ Large DB is 39999.00MB
DB allocated space is 19999.00MB
Available space with in the DB is 20000.00MB (50%)


The DB will have stopped working as there was no space to extend the file on the main disk


In this example we can now click ok to shrink the Large DB, due to having 20,000MB free space with in the DB.
Note : If there was no free space, then you should consider looking at the application for purge options or adding additional storage

A database can shrink while running. The shrink will work in the background, IF there is space. However it might slow things down because its actually moving data off pages onto others and then deleting the empty pages when it moves the data it has to reset catalog so that the db knows where that data is in the indexes etc. (reset  means update)
This is just and example, in my own words and you should understand the tasks this article talks about and make your own decisions. The author holds NO responsibility for anything which is done based on the topic described above.

Sysprep Windows Server 2008

I wanted to sysprep an image of Windows Server 2008 after cloning a Windows Server 2008 VM in VMware Workstation.

Followed by a quick google to jog the memory, I found http://jameskovacs.com/2008/10/15/how-to-sysprep-windows-server-2008/

Sysprep is installed by default on Windows Server 2008.

Default location : c:\Windows\System32\sysprep\sysprep.exe

Simply run sysprep.exe

The tool pops up.

Check the “Generalize” checkbox (regenerates system SID), change the Shutdown Options to “Shutdown” or “Restart”, and click OK.

The system will go through the sysprep process and shut itself down or restart.
I was only running sysprep after a clone. So restart was ok

Use shutdown if you wan to create cloned servers afterwards by simply by creating linked servers and booting the clone.

Note the SIDs weren’t being regenerated with out the “check” in the Generalize checkbox to make that happen.