Home » automation

Tag: automation

Automation of Printer settings for PVS images

Scenario: A password protected printer, where the password changes every month. We had to manually enter the new password when our PVS images were rebooted, as we didnt want to update the PVS image with just a password change (we hadnt introduced DFS-R for the PVS image management so it was manual and time consuming)


EXPORT the settings to a file for the specific printer – rundll32 printui.dll,PrintUIEntry /Ss /n “MYLAMEPRINTER” /a “file.dat” u

IMPORT the settings to any server that needed it – rundll32 printui.dll,PrintUIEntry /Sr /n “MYLAMEPRINTER” /a “file.dat” u

Add this as a startup script GPO






Automation of Font Installation Windows and XenApp

We Needed a process to automate the installation of non standard fonts for our XenApp Servers.

Whilst there are probably better ways to do this – here is our basic method to automate the installation of Fonts for Windows

  • Copy the specific fonts to the server locally > C:windowsfonts

Copy /Y C:masterFonts*.ttf C:windowsFonts
Copy /Y C:masterFonts*.fon C:windowsFonts
Copy /Y C:masterFonts*.otf C:windowsFonts

  • Run a regedit to register the font

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionFonts]
“Copperplate Gothic Thirty-One BC (TrueType)”=”cp31c___.ttf”
“MF Full Screen Font VGA.640×480.CP437.v1″=”Mfvga01.fon”