i copied this script from the net , this script will add a domian group to the local group , the problem is when i put this script usign group policy , computer conf, scripts , start up,
the script seems not running , becasuse i dont see the group added , i dont know where is the problem , can anyone please Help help ,
On Error Resume Next
Set ws = WScript.CreateObject ( “WScript.Shell” )
compname = ws.ExpandEnvironmentStrings ( “%COMPUTERNAME%” )
Set adGrp = GetObject ( “WinNT://” & compname & “/Administrators,group” )
adGrp.Add ( “Windows://mudomain/mudomaingroup,group” )