Thanks!
It did not really help me, though. My fault, I really stink when it comes to scripting...
I tried to run this through a script, but it didnt work:
Option Explicit
on error resume next
Dim Net, oNetwork, wshShell, EnvVar, sUserName, IPConfigSet, ObjIfUser, IPConfig, iLoop, ObjGroup, ObjUser
Dim sHomeServer, sProgServer, sInstServer
set oNetwork = CreateObject("Wscript.Network")
Set net = CreateObject("WScript.Network")
Set wshShell = CreateObject("Wscript.Shell")
Set EnvVar = wshShell.Environment("Process")
sUserName=EnvVar.Item("username")
If IsMember("LFAD",susername,"G-08-users")=True Then
wshshell.run("cmd /c H:\FavoritesOnServer.reg")
End If
|