Hi
I am trying to map a drive during a users logon using a logon script
that checks if the user is a member of a particular Windows Security
Group.
I am trying to use the "ifmember" command but am failing miserably.
What we want the script to do is check if the user is a member of
"Group1"
personally I'd recommend using Kixtart for your login script to make this
work easily with more power and flexibility
On Thu, Jan 28, 2010 at 10:14 AM, Kevan Dickinson <
kevan.dickin...@cmi-plc.com> wrote:
> Hi
>
>
>
> I am trying to map a drive during a users logon using a logon script that
> c
Use Group Policy Preferences targeted to security group. Much easier
On 28 January 2010 15:14, Kevan Dickinson wrote:
> Hi
>
>
>
> I am trying to map a drive during a users logon using a logon script that
> checks if the user is a member of a particular Windows Security Group.
>
> I am trying to
t;%temp%\debug.log
Carl
From: Kevan Dickinson [mailto:kevan.dickin...@cmi-plc.com]
Sent: Thursday, January 28, 2010 10:15 AM
To: NT System Admin Issues
Subject: Mapping a drive, dependant on Group Membership
Hi
I am trying to map a drive during a users logon using a logon script th
On Error Resume Next
Set objSysInfo = CreateObject("ADSystemInfo")
Set objNetwork = CreateObject("Wscript.Network")
strUserPath = "LDAP://" & objSysInfo.UserName
Set objUser = GetObject(strUserPath)
For Each strGroup in objUser.MemberOf
strGroupPath = "LDAP://" & strGroup
Set objGroup =
That solution doesn't handle nested groups which may be a deal breaker
Thanks,
Brian Desmond
br...@briandesmond.com
c - 312.731.3132
From: Don Ely [mailto:don@gmail.com]
Sent: Thursday, January 28, 2010 7:42 AM
To: NT System Admin Issues
Subject: Re: Mapping a drive, dependant on