Jump to content

Help me write a registry value


 Share

Recommended Posts

So, I'm fairly new to AutoIt. I would like to create a program that puts a key in the registry that will make itself startup with Windows. I believe this is the location I would wish to put the value in: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices.

Will this line of code accomplish this goal: RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices" , "name.exe" , "REG_SZ" ?

Thanks for your help.

Link to comment
Share on other sites

What I was trying to do was make it run as a service, so as to run before the user even logs in. Is that possible with the macro?

No, not with the macro... I know there are posts about this topic, use the upper right corner of this page...

"Search"

and search this area and the Example scripts... ( unless someone here knows the answer you are looking for )

... not my area... and i dont teach regwrite to new people

8)

NEWHeader1.png

Link to comment
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
 Share

  • Recently Browsing   0 members

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