

shutdown tells command prompt that you want If you choose to use the command to restart your computer, shutdown /r /f /t 00 is included in the command. Finally, runas tells the code that it needs to ask you for permission to run the command as an administrator. Then cmd.exe is given to this so it can be opened, and /c """" simply tells command prompt whatĬommand to run (I left out the command on purpose). Of the code gets ready to launch command prompt. The Call CreateObject("Shell.Application").ShellExecute part Which is the exact command that I provide for the more "experienced" people (see below). If you noticed, in the middle of this code you can see sc config vgc start= disabled & sc config vgk start= disabled Let's dissect the code, eh?Ĭall CreateObject("Shell.Application").ShellExecute("cmd.exe", "/c ""sc config vgc start= disabled & sc config vgk start= disabled""", "", "runas") These files run the same commands provided below, but asks you to run the command as administrator first.

If you don't know how commands work or you just want the easiest way to disable and enable Vanguard, I have created a few files for the best experience: sc config vgc start= disabled) Commands for people who don't know how commands work My commands simply disable these services from starting next time you start your computer by changing their configuration to disabled (ie. These commands are telling Windows Services (known to the command line as sc) to delete two services ( vgc and vgk). These commands are sc delete vgc and sc delete vgk. On Riot's support website for Valorant, they list two commands in the third step in the process of manually uninstalling Riot Vanguard. I've put together a few commands to turn off Riot Vanguard for when you aren't playing Valorant. Commands to temporarily stop Riot VanguardĪs oddly as it sounds, people actually do other things on their computer than play Valorant.
