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 toolMute sound in MDT