Jump to content

Recommended Posts

Posted (edited)

Hi all,

I was thinking of making a program/script that will effectively do what MSconfig does for startup items but will be used on remote computers (This will save logging onto Networked machines through RDP or VNC and disrupting users working). The way to do this I believe would be to delete/create registry keys in another place which is effectively what msconfig does:

It copies values from these: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

and moves them in a different format to here: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg

I just wondered if this was possible with Autoit because I can only see that RegRead works on a Local machine and not remotely through remote registry. Seems a fairly straightforward idea but I don't believe such a program exists at the moment (I checked :D).

Edited by ganon64
Posted

Dog ate your help file?

From the comments under RegRead() in the help file:

  Quote

It is possible to access remote registries by using a keyname in the form "\\computername\keyname". To use this feature you must have the correct access rights.

:D

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Posted

regread

regwrite

regdelete

all have the ability to do this through the unc path that psalty gave an example of

  On 9/29/2009 at 12:59 PM, 'ganon64 said:

Hi all,

I was thinking of making a program/script that will effectively do what MSconfig does for startup items but will be used on remote computers (This will save logging onto Networked machines through RDP or VNC and disrupting users working). The way to do this I believe would be to delete/create registry keys in another place which is effectively what msconfig does:

It copies values from these: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

and moves them in a different format to here: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg

I just wondered if this was possible with Autoit because I can only see that RegRead works on a Local machine and not remotely through remote registry. Seems a fairly straightforward idea but I don't believe such a program exists at the moment (I checked :D).

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...