Whenever I create a new Windows Server 2016 Virtual Machine (VM) template for customers, I mostly add the BgInfo tool in the base image (also called golden image) and set it so it starts up automatically whenever a user logs on to the server. To automate this process, I wrote a PowerShell script which does all of the following:

 

 

More information about the script can be found on my blog: http://scug.be/wim/2017/02/23/powershell-bginfo-automation-script/