+ 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
    806
    Code:
    Set regshell = CreateObject("Wscript.Shell")
    regshell.regwrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\" & yourkeyvalue, yourkeydata
    http://breakingsecurity.net - my website containing my coding jobs!

  3. #3
    D92
    D92 is offline
    Senior Member
    Join Date
    Apr 2012
    Posts
    1,523
    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
    806
    Quote Originally Posted by Ven0m1 View Post
    and how i delete it? regdelete??...
    yes, if I remember correctly is .regdelete
    http://breakingsecurity.net - my website containing my coding jobs!

  8. #8
    Senior Member t3rmin4t0r's Avatar
    Join Date
    Jan 2010
    Location
    PLUTO
    Posts
    258

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.