@ echo off %1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit cd /d "%~dp0" :Admin echo 127.0.0.1 sample.housekeeper.local.huawei.com >>%systemroot%\system32\drivers\etc\hosts