How to adding a user to a local group
From: ±¿µ° (raymond_at_gxchina.com.DISCUSS)
Date: 03/09/04
- Next message: vinod kumar: "page faults in wmi service..."
- Previous message: Sarika Sharma[MSFT]: "Re: Unable to connect to WMI Service '\root\cimv\' ERROR"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 9 Mar 2004 21:51:25 +0800
Does anyone know how to adding a user to a local group without AD.
i tried this script from Microsoft,but get error code 8007056B. I using
WinXP with all hotfix, installed Windows script host 5.6 For Simplify
Chinese platform. Any help are appreciated.
strComputer = "."
Set objGroup = GetObject("WinNT://" & strComputer & "/Administrators,group")
Set objUser = GetObject("WinNT://" & strComputer & "/Guest,user")
objGroup.Add(objUser.ADsPath)
Raymond
- Next message: vinod kumar: "page faults in wmi service..."
- Previous message: Sarika Sharma[MSFT]: "Re: Unable to connect to WMI Service '\root\cimv\' ERROR"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|