Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Help with Script Needed Desperately

Reply
Thread Tools

Help with Script Needed Desperately

 
 
Joe Foran
Guest
Posts: n/a
 
      08-31-2004
Hi everyone,

I'm in a bit of a bind... I have some batch scripting ability but next
to no skill in Perl. I had a set of scripts that would:

Query the registry key
HKLM\SOFTWARE\Microsoft\SMS\Client\Configuration\C lient Application
Launchers\Hardware 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\Microsoft\SMS\Client\Configuration\C lient Application
Launchers\Hardware Inventory Agent

HKLM\SOFTWARE\Microsoft\SMS\Client\Client Components\Hardware
Inventory Agent

5. Report back to a file on \\hostserver\MSKB\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, Perl 5 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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Desperately Needed Posting to Usenet Through Google Ashley Endicott Computer Support 29 11-16-2007 04:35 AM
Help with sscanf() needed desperately Artemio C Programming 8 07-30-2006 05:58 PM
Multi Level Forms Authentication Help DESPERATELY NEEDED! Joe Rigley ASP .Net 2 05-12-2005 05:03 PM
Scanner/Apple help desperately needed Grady R. Thompson Digital Photography 6 09-15-2004 06:35 PM
Help desperately needed Els HTML 14 07-22-2004 02:51 AM



Advertisments