Re: StdRegProv creates user profile on remote machine
- From: "Jonathan Liu [MSFT]" <jonliu@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 1 Nov 2005 11:47:03 -0800
What OS are you running on the Client and the Server?
Here is an KB Article that has similarities with your situation.
http://support.microsoft.com/default.aspx?scid=kb;en-us;816740
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
<brian.arsenault@xxxxxxxxx> wrote in message
news:1130432092.749275.126910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hello,
>
> Can someone explain if there is a way to NOT create a local profile on
> a remote machine while executing the following VBScript.
>
> const HKEY_LOCAL_MACHINE = &H80000002
>
> Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _
> & strComputer & "\root\default:StdRegProv")
>
> strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
> objReg.EnumValues HKEY_LOCAL_MACHINE, strKeyPath, arrValueNames,
> arrValueTypes
> For each strValueName in arrValueNames
> objReg.GetStringValue
> HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue
> msgbox strValueName & " " & strValue
> Next
>
> Thanks a bunch!
>
> BA
>
.
- Follow-Ups:
- Prev by Date: WBEMTest.exe: Query seems to fail at Asynchronous mode when monitoring a remote Windows 2000 Server.
- Next by Date: Re: refresh service
- Previous by thread: WBEMTest.exe: Query seems to fail at Asynchronous mode when monitoring a remote Windows 2000 Server.
- Next by thread: Re: StdRegProv creates user profile on remote machine
- Index(es):