Discussion:
vb script to remove a startup entry
(too old to reply)
velvetmm
2007-01-20 22:55:59 UTC
Permalink
i have this thing with adobe photo downloader, i don't want it
auto-loading - easily fixed, same as i did with hp image monitor

but i still want it available, so put it on the task bar on the left,
when i'm using the printer for functions that i want all the extras, i
click and it loads into the notification area just like it would on
startup befotre i changed it, and i can exit anytime

are you with me so far ? :)

ok, adobe does the same thing, except it writes itself into startup
when it executes

i've found a vbs script that i think will do it, but i don't know vbs,
really

somebody check it for me please ?

i think the only thing i need to change is

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Adobe
Photo Downloader"

has to be HKLM etc

and, um, i can write this into a bat/pif to execute C:\Program
Files\Adobe\Photoshop Album Starter Edition\3.0\Apps\apdproxy.exe to
load that, and then a line to run the reg edit directly after by a
direct command prompt call to the script file ?

so the bat would be :

C:\Program Files\Adobe\Photoshop Album Starter
Edition\3.0\Apps\apdproxy.exe
call killapdproxystartup.vbs


vbs code reads :

'vmb's remover for auto-insert on startup line by photoshop downloader
execution
'Based on fixes by Doug Knox and Kelly Theriot. original file
xp_pastitems.vbs
'designed to remove past items icon list in notification tray for
volume icon problem

Message = "we're about to alter the registry" & vbCR
Message = Message & "based on a vbs script by Doug Knox and Kelly
Theriot" & vbCR
Message = Message & "edited by -<VMB>- -restarting Windows shell now
to run vbs" & vbCR
Message = Message & "This will not harm your system." & vbCR & vbCR
Message = Message & "Continue?"

X = MsgBox(Message, vbYesNo, "Notice")

If X = 6 Then

On Error Resume Next

Set WshShell = WScript.CreateObject("WScript.Shell")

WshShell.RegDelete

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Adobe
Photo Downloader"



Set WshShell = Nothing


Next

MsgBox "Finished." & vbcr & vbcr & "thanx Doug Knox and Kelly Theriot",
4096, "-<VMB>-"

Else

MsgBox "No changes were made to your system." & vbcr & vbcr & "thanx
Doug Knox and Kelly Theriot -<VMB>-", 4096, "User Cancelled"

End If

i have some programming, but not this - there's probably something
that doesn't make sense, but will it work ?

btw, if you want the original code for the past items thing, i can
post that -

i was going to so you could see what i did, but i figured to keep it
concise

thanx !
unknown
2007-01-21 09:03:42 UTC
Permalink
Post by velvetmm
i have this thing with adobe photo downloader, i don't want it
auto-loading - easily fixed, same as i did with hp image monitor
but i still want it available, so put it on the task bar on the left,
when i'm using the printer for functions that i want all the extras, i
click and it loads into the notification area just like it would on
startup befotre i changed it, and i can exit anytime
are you with me so far ? :)
ok, adobe does the same thing, except it writes itself into startup
when it executes
i've found a vbs script that i think will do it, but i don't know vbs,
really
somebody check it for me please ?
--VBS Start Here-------
On Error Resume Next
Set wshell = CreateObject("WScript.Shell")
wshell.RegDelete
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Adobe Photo Downloader"
-----End---------------
--
→ Ayush
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------
velvetmm
2007-01-30 18:26:36 UTC
Permalink
ok, thanks - but i still need to know if it will execute from a bat/
pif so i can run the reg deletion on the same click as running the
downloader executable (well, immediately after)
Post by velvetmm
Post by velvetmm
i have this thing with adobe photo downloader, i don't want it
auto-loading - easily fixed, same as i did with hp image monitor
but i still want it available, so put it on the task bar on the left,
when i'm using the printer for functions that i want all the extras, i
click and it loads into the notification area just like it would on
startup befotre i changed it, and i can exit anytime
are you with me so far ? :)
ok, adobe does the same thing, except it writes itself into startup
when it executes
i've found a vbs script that i think will do it, but i don't know vbs,
really
somebody check it for me please ?--VBS Start Here-------
On Error Resume Next
Set wshell = CreateObject("WScript.Shell")
wshell.RegDelete
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Adobe Photo Downloader"
-----End---------------
--
→ Ayush
-------------
Search -www.Google.com| Wikipedia -http://en.wikipedia.org
Snip your long urls -http://snipurl.com/
-------------
Loading...