Jump to content

Recommended Posts

Posted

We are using the following AutoIt script on some Windows 95/98 PC's:

RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\UPDATE", "NetworkPath", "REG_SZ", "\\BR_USERS\sys\public\config.pol")

If I check that key before and after the, the change is made. However, after the computer is rebooted the registry setting is reverted back to it's old value.

Any ideas as to what might be causing this and/or what we are doing wrong would be appreciated!

Thanks,

D-

Posted

Thanks for the idea, unfortunatly the CurrentControlSet001 does not exist in Windows9x.

I have went through the registry (searched multiple times) to verify that there are no other occurences of the entry which may be resetting the value back to it's prior value.

I am stumped because it appears to be changed, but doesn't "stick". Also, if I change it manually it seems to work...wierd.

Thanks for the idea though.

D-

Posted

do you have any virus scanners or spyware/adware programs because those might block it

[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Posted

Virus scanner - Yes

Spyware scanner - No

I don't believe the AV (F-Prot) would prevent this, but I will try and find out.

Thanks for the suggestion.

D-

Posted

OK, I am a complete moron...

AutoIt was changing the key to

"\\USERS\sys\public\config.pol"

However, in that config.pol file the value was being changed back to the old one.

Thanks again for the suggestions.

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
×
×
  • Create New...