It worked Perfectly... Thanks A Lot! I still had the HKEY from my VBScript file... Thanks Vic : Hi, : When I execute the following code I get an error: Line 34 Error Writing to : Registry. : Code: Dim myKey , String : Dim myValueName , String : Dim myValueType , String : Dim myValue , String : Set myKey , "HKLM\SOFTWARE\Microsoft\Windows : NT\CurrentVersion\Winlogon" : Set myValueName , "AutoAdminLogon" : Set myValueType , "STRING" : Set myValue , "1" : RegistrySetKey myKey, myValuename, myValueType, MyValue : Any Ideas? : Thanks Vic
|