Hi everyone,
I'm in a bit of a bind... I have some batch scripting ability but next
to no skill in VBS. I had a set of scripts that would:
Query the registry key
HKLM\SOFTWARE\M icrosoft\SMS\Cl ient\Configurat ion\Client Application
Launchers\Hardw are Inventory Agent
If the value returned is 0x79726f74 then it would stop the SMS Client
Service (clisvc), wait for this to complete, and then delete two
registry keys:
HKLM\SOFTWARE\M icrosoft\SMS\Cl ient\Configurat ion\Client Application
Launchers\Hardw are Inventory Agent
HKLM\SOFTWARE\M icrosoft\SMS\Cl ient\Client Components\Hard ware
Inventory Agent
5. Report back to a file on \\hostserver\MS KB\28552\
We also had a VBS that ran great, but required WMI 1.5. Thus comes the
caveat... the targets are our legacy desktops running NT4 Workstation,
WMI v1, and IE5. The script needs to run at logon (we use psexec to
get elevated rights), and definately has to report back for auditing
purposes.
Does anyone know how to do this? I am completely tapped.
TIA!
Joe Foran
I'm in a bit of a bind... I have some batch scripting ability but next
to no skill in VBS. I had a set of scripts that would:
Query the registry key
HKLM\SOFTWARE\M icrosoft\SMS\Cl ient\Configurat ion\Client Application
Launchers\Hardw are Inventory Agent
If the value returned is 0x79726f74 then it would stop the SMS Client
Service (clisvc), wait for this to complete, and then delete two
registry keys:
HKLM\SOFTWARE\M icrosoft\SMS\Cl ient\Configurat ion\Client Application
Launchers\Hardw are Inventory Agent
HKLM\SOFTWARE\M icrosoft\SMS\Cl ient\Client Components\Hard ware
Inventory Agent
5. Report back to a file on \\hostserver\MS KB\28552\
We also had a VBS that ran great, but required WMI 1.5. Thus comes the
caveat... the targets are our legacy desktops running NT4 Workstation,
WMI v1, and IE5. The script needs to run at logon (we use psexec to
get elevated rights), and definately has to report back for auditing
purposes.
Does anyone know how to do this? I am completely tapped.
TIA!
Joe Foran
Comment