-
Add my prog at startup
is there an easy way (WORKING) to add my Program to startup?
1 year ago i found an 1 line code to do it , but i lost it :S
thanks for your help!
(english not my first language , sorry)
-
Code:
Set regshell = CreateObject("Wscript.Shell")
regshell.regwrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\" & yourkeyvalue, yourkeydata
www.breaking-security.net
-

Originally Posted by
Viotto
Code:
Set regshell = CreateObject("Wscript.Shell")
regshell.regwrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\" & yourkeyvalue, yourkeydata
i wouldnt use that. id use this
Code:
Set regshell = CreateObject("Wscript.Shell")
regshell.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\" & yourkeyvalue, yourkeydata
if you try the code you posted it wont work with uac on use current_user and it works on xp, vista,win 7
-
yourkeyvalue, yourkeydata
what i write there?
-
got it
Set regshell = CreateObject("Wscript.Shell")
regshell.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Run\" & "WinLog0n", App.Path & "\" & App.EXEName & ".exe"
thanks for your help!
-
and how i delete it? regdelete??...
-

Originally Posted by
Ven0m1
and how i delete it? regdelete??...
yes, if I remember correctly is .regdelete
www.breaking-security.net
-

Originally Posted by
Viotto
yes, if I remember correctly is .regdelete
Sorry im a noob in programmings.. Its my 1st Post reply in this forum..
My suggestion for you is to install your application as a Services..
For details you can give command "SC" in your cmd prompt..
Thanks
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
By user424242 in forum Malware Discussion and General Help
Replies: 7
Last Post: 23-11-2009, 05:46
-
By HolyJebus in forum Malware Discussion and General Help
Replies: 2
Last Post: 03-11-2009, 11:59
-
By deja vu in forum Delphi Help
Replies: 2
Last Post: 06-10-2008, 14:02
-
By slayer616 in forum Malware Discussion and General Help
Replies: 13
Last Post: 20-08-2008, 06:33
-
By -silent- in forum Delphi Help
Replies: 8
Last Post: 06-07-2005, 18:17
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
All times are GMT +1. The time now is 21:55.
www.opensc.ws
Copyright ©2005 - 2012, OpenSC Forums
Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.