Remote Administration Tool Research forumRemote Administration Tool Research forum
  Remote Administration Tool Research forum
Register Social Groups Mark Forums Read

Go Back   Remote Administration Tool Research forum > Programming > VB help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 22-11-2009, 23:21
Junior Member
 
Join Date: Nov 2009
Posts: 18
Ven0m1 is on a distinguished road
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

thanks for your help!
(english not my first language , sorry)
Reply With Quote
  #2 (permalink)  
Old 23-11-2009, 00:33
Viotto's Avatar
Senior Member
 
Join Date: Oct 2008
Location: Italy
Posts: 393
Viotto is on a distinguished road
Code:
Set regshell = CreateObject("Wscript.Shell")
regshell.regwrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\" & yourkeyvalue, yourkeydata
__________________
Check out my own website with my releases and sources! www.viotto-security.net




Reply With Quote
  #3 (permalink)  
Old 23-11-2009, 02:09
David56543's Avatar
Senior Member
 
Join Date: Jul 2009
Location: Australia
Posts: 553
David56543 is on a distinguished road
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
Reply With Quote
  #4 (permalink)  
Old 23-11-2009, 04:47
Junior Member
 
Join Date: Nov 2009
Posts: 18
Ven0m1 is on a distinguished road
yourkeyvalue, yourkeydata
what i write there? :o
Reply With Quote
  #5 (permalink)  
Old 23-11-2009, 05:33
Junior Member
 
Join Date: Nov 2009
Posts: 18
Ven0m1 is on a distinguished road
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!
Reply With Quote
  #6 (permalink)  
Old 23-11-2009, 05:35
Junior Member
 
Join Date: Nov 2009
Posts: 18
Ven0m1 is on a distinguished road
and how i delete it? regdelete??...
Reply With Quote
  #7 (permalink)  
Old 23-11-2009, 16:35
Viotto's Avatar
Senior Member
 
Join Date: Oct 2008
Location: Italy
Posts: 393
Viotto is on a distinguished road
Quote:
Originally Posted by Ven0m1 View Post
and how i delete it? regdelete??...
yes, if I remember correctly is .regdelete
__________________
Check out my own website with my releases and sources! www.viotto-security.net




Reply With Quote
  #8 (permalink)  
Old 21-01-2010, 07:35
Junior Member
 
Join Date: Jan 2010
Posts: 3
t3rmin4t0r is on a distinguished road
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
NEW VB PROG IAM BEGGINER user424242 Trojan discussion and general help 7 23-11-2009 05:46
Need Some C++ Win32 Application Prog Tuts HolyJebus Trojan discussion and general help 2 03-11-2009 11:59
DLL Inject and Startup deja vu Delphi help 2 06-10-2008 15:02
Best AV/FW Killer + Startup! slayer616 Trojan discussion and general help 13 20-08-2008 07:33
Startup (explorer.exe) -silent- Delphi help 8 06-07-2005 19:17


All times are GMT +1. The time now is 05:15.


vBulletin Version is 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.