I use this in MDT to rename local admin account. @echo off wmic useraccount where "name='Administrator'" rename Daag Post navigation Powershell Graphical user interface tool Mute sound in MDT