+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    18

    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)

  2. #2
    Senior Member
    Join Date
    Oct 2008
    Location
    Italy
    Posts
    816
    Code:
    Set regshell = CreateObject("Wscript.Shell")
    regshell.regwrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\" & yourkeyvalue, yourkeydata
    www.breaking-security.net

  3. #3
    D92
    D92 is offline
    Senior Member
    Join Date
    Oct 2009
    Posts
    1,429
    Quote Originally Posted by Viotto View Post
    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

  4. #4
    Junior Member
    Join Date
    Nov 2009
    Posts
    18
    yourkeyvalue, yourkeydata
    what i write there?

  5. #5
    Junior Member
    Join Date
    Nov 2009
    Posts
    18
    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!

  6. #6
    Junior Member
    Join Date
    Nov 2009
    Posts
    18
    and how i delete it? regdelete??...

  7. #7
    Senior Member
    Join Date
    Oct 2008
    Location
    Italy
    Posts
    816
    Quote Originally Posted by Ven0m1 View Post
    and how i delete it? regdelete??...
    yes, if I remember correctly is .regdelete
    www.breaking-security.net

  8. #8
    Senior Member
    Join Date
    Jan 2010
    Location
    PLUTO
    Posts
    256

    Thumbs up

    Quote Originally Posted by Viotto View Post
    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

  1. NEW VB PROG IAM BEGGINER
    By user424242 in forum Malware Discussion and General Help
    Replies: 7
    Last Post: 23-11-2009, 05:46
  2. Need Some C++ Win32 Application Prog Tuts
    By HolyJebus in forum Malware Discussion and General Help
    Replies: 2
    Last Post: 03-11-2009, 11:59
  3. DLL Inject and Startup
    By deja vu in forum Delphi Help
    Replies: 2
    Last Post: 06-10-2008, 14:02
  4. Best AV/FW Killer + Startup!
    By slayer616 in forum Malware Discussion and General Help
    Replies: 13
    Last Post: 20-08-2008, 06:33
  5. Startup (explorer.exe)
    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
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.