#39728 - 2003-05-01 12:58 AM
SReg Problem (Array Out of Bounds)
|
R. Baker
Fresh Scripter
Registered: 2003-01-23
Posts: 7
|
Hello all!
I've used kix for a few scripts, but I'm stuck on an issue. I'm writing (or trying to write) a script to manually uninstall NAV Corp Edition on 95 clients, as there are several client that won't uninstall by conventional means. Symantec has a doco which explains what needs to be done. One of the steps is to search for and delete all instances of 74BE21DBFDBD3D11EBAE000ACC725290 & VirusProtect6.
I've figured out that I need to use SReg to search for particular subkeys. I was able to use SReg to find all instances of 74BE21DBFDBD3D11EBAE000ACC725290 (although I can't use "0" for the integer parameter, but that's another story) However, when I try to search for VirusProtect6, I get and "Array out of bounds" error msg. I gather the problem is with the "6" or its interpation of, but how do I get around it? The expression I've tried is $index=Sreg("HKEY_LOCAL_MACHINE","virusprotect6",2)
Any help greatly appreciated.
Regards,
R. Baker
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|