L
L
linuxnb2017-07-31 02:41:11
cmd/bat
linuxnb, 2017-07-31 02:41:11

How to remove a program from startup using CMD/VBS?

Good day, I ran into a problem.
How to remove a program from auto download using VBS / CMD
(For me it is preferable to VBS)
I rummaged through the first 5 pages of Google and Yashka and there is no information. If anyone has a clue?
I add it to autoload like this (VBS):
Dim vOrg, objArgs, root, key, WshShell
root = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\"
KeyHP = "meh"
Set WshShell = WScript.CreateObject("WScript.Shell ")
WshShell.RegWrite root+keyHP,"C:\Users\meh\Desktop\pack\meh.exe /autorun"
Thanks!
Z.Y. I am noob. I have it in my nickname!)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2017-07-31
@linuxnb

Look at the reference for the WScript.Shell object that you are using, there is the same deletion there.
For batch files, you can use the reg utility, see:
reg /?
regadd /?
reg delete /?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question