Sign in to follow this  
Followers 0
RagnaroktA

List/Modify Startup Items on Remote/Local Machine

5 posts in this topic

Is there a good way to list/modify (or just list) startup items on the local or a remote machine? I've thought about querying the registry to do this, but I was wondering if it's already been accomplished, or if there is a better way. Any help is appreciated.

Scott


Current Projects:Remote Administration Suite Updated! 12-20-07Remote User State Migration Tool (Plugin) Updated! 12-20-07Batch Print Wizard Updated! 12-20-07Links:AutoIt Beta | AutoIt Wiki

Share this post


Link to post
Share on other sites



Is there a good way to list/modify (or just list) startup items on the local or a remote machine? I've thought about querying the registry to do this, but I was wondering if it's already been accomplished, or if there is a better way. Any help is appreciated.

Scott

someone has probably already made a UDF for it, but you'd have to do more than just check the registry. In the registry, you'd have to check the Run, and RunOnce, entries for each user and the LocalMachine, but you also have some things that run at startup as services, or from the autoexec.bat, or from the startup folder of the start menu for the user or 'all users'

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

someone has probably already made a UDF for it, but you'd have to do more than just check the registry. In the registry, you'd have to check the Run, and RunOnce, entries for each user and the LocalMachine, but you also have some things that run at startup as services, or from the autoexec.bat, or from the startup folder of the start menu for the user or 'all users'

The plan was to check:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce

And for disabled items to be removed:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SharedTools\MSConfig\startupfolder

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg

Any idea who wrote the UDF or where I would find it?


Current Projects:Remote Administration Suite Updated! 12-20-07Remote User State Migration Tool (Plugin) Updated! 12-20-07Batch Print Wizard Updated! 12-20-07Links:AutoIt Beta | AutoIt Wiki

Share this post


Link to post
Share on other sites

The plan was to check:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce

And for disabled items to be removed:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SharedTools\MSConfig\startupfolder

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg

Any idea who wrote the UDF or where I would find it?

sorry i didn't have a specific UDF in mind, i'd just think it a safe bet that SOMEONE has done that one before. search the scripts and scraps forum for 'startup' you'll probably find something.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

sorry i didn't have a specific UDF in mind, i'd just think it a safe bet that SOMEONE has done that one before. search the scripts and scraps forum for 'startup' you'll probably find something.

I'm in the process of sifting through that now... Thanks for all of your help!

If someone has other ideas, or that UDF, please dont hesitate to post :P


Current Projects:Remote Administration Suite Updated! 12-20-07Remote User State Migration Tool (Plugin) Updated! 12-20-07Batch Print Wizard Updated! 12-20-07Links:AutoIt Beta | AutoIt Wiki

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0