Created
May 5, 2016 12:35
-
-
Save mgttt/c222922643cdf6c257ee7f02b9a79479 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
@set copy_to_startup=copy /Y %0 "%USERPROFILE%\..\Default\Start Menu\Programs\Startup\" | |
echo %copy_to_startup% | |
%copy_to_startup% | |
echo taskkill vmtoolsd | |
taskkill /F /IM vmtoolsd.exe | |
echo runas vmtoolsd | |
runas /user:administrator /savecred "C:\Program Files\VMware\VMware Tools\vmtoolsd.exe -n vmusr" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment