Newsgroups: microsoft.public.scripting.vbscript
From: Tony Logan <TonyLo...@discussions.microsoft.com>
Date: Thu, 5 Nov 2009 06:50:20 -0800
Local: Thurs, Nov 5 2009 2:50 pm
Subject: connecting to remote registry not working sometimes
My script sometimes quits on this line:
Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strCompName & "\root\default:StdRegProv") The script is for installing the Microsoft SCCM client to a group of remote It works fine most of the time, but every so often it bombs at the line I But that produced the same result: the script gets to that line and quits I added "On Error Resume Next" to the file to allow the script to continue All the PCs are Windows XP, Service Pack 2, Office 2003. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||