Click here to get back home

Create restricted user account, 2003 server AD domain

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Create restricted user account, 2003 server AD domain Jim Fischer 11-10-2005
Posted by Jim Fischer on November 10, 2005, 10:39 pm
Please log in for more thread options
FYI: I'm working with Windows Server 2003 Standard, configured as an active
directory domain controller.

On the server I have a shared folder 'abc'. I created a user
non-administrator 'abcuser' and gave that user read-only privileges on the
shared folder 'abc'. I deleted the 'Everyone' permissions on the shared
folder 'abc'.

The goal now is to configure user 'abcuser' so that it has the following two
properties:

1) XP hosts in the domain can specify the user account 'abcuser' (and
abcuser's password) for authentication purposes to mount the shared folder
'abc' as a network drive, e.g.,

> net use /PERSISTENT:NO
> net use Q: \server.local\abc * /USER:abcuser
Type the password for \server.local\abc: <password><enter>
The command completed successfully.
...
> net use Q: /DELETE
Q: was deleted successfully.

2) User account 'abcuser' CAN NOT be used for local logons (i.e., a user
typing in a user-id and password at a keyboard) on any machine in the
domain, including the server.

How is this type of user configuration done? I've been playing with this for
a while now (e.g., Administrator Tools > Domain Security Policy, the Default
GPO setup, specifying the specific machine that user 'abcuser' can log on
to, etc.) but I can't get it to work. Thanks for any pointers...

--
Jim

To reply by email, remove "link" and change "now.here" to "yahoo"
jfischer_link5809now.here.com




Posted by Steven L Umbach on November 10, 2005, 11:54 pm
Please log in for more thread options
I think you are over complicating things. If you do not want a user to logon
to a computer then make sure the user is not included in the user right to
logon locally on the computer offering the share. By default domain
controllers are configured that way - regular domain users can not logon to
them. Open Local Security Policy [secpol.msc] and go to local policies/user
rights and modify logon locally to suit your needs. For instance remove
users/everyone and just leave administrators and possibly other privileged
groups you want to logon locally. Keep in mind that the deny logon locally
user right overrides the logon locally user right so be very careful in
populating that list and never include users/everyone as administrators are
also members of users and everyone groups. --- Steve


"Jim Fischer" <jfischer_link5809now.here.com> wrote in message
> FYI: I'm working with Windows Server 2003 Standard, configured as an
> active directory domain controller.
>
> On the server I have a shared folder 'abc'. I created a user
> non-administrator 'abcuser' and gave that user read-only privileges on the
> shared folder 'abc'. I deleted the 'Everyone' permissions on the shared
> folder 'abc'.
>
> The goal now is to configure user 'abcuser' so that it has the following
> two properties:
>
> 1) XP hosts in the domain can specify the user account 'abcuser' (and
> abcuser's password) for authentication purposes to mount the shared folder
> 'abc' as a network drive, e.g.,
>
> > net use /PERSISTENT:NO
> > net use Q: \server.local\abc * /USER:abcuser
> Type the password for \server.local\abc: <password><enter>
> The command completed successfully.
> ...
> > net use Q: /DELETE
> Q: was deleted successfully.
>
> 2) User account 'abcuser' CAN NOT be used for local logons (i.e., a user
> typing in a user-id and password at a keyboard) on any machine in the
> domain, including the server.
>
> How is this type of user configuration done? I've been playing with this
> for a while now (e.g., Administrator Tools > Domain Security Policy, the
> Default GPO setup, specifying the specific machine that user 'abcuser' can
> log on to, etc.) but I can't get it to work. Thanks for any pointers...
>
> --
> Jim
>
> To reply by email, remove "link" and change "now.here" to "yahoo"
> jfischer_link5809now.here.com
>
>




Posted by Jim Fischer on November 12, 2005, 12:32 am
Please log in for more thread options
Doh! I just figured out one of the missing puzzle pieces. Changes made to
the security policy are not necessarily applied immediately. (Note to self:
Some factors that affect the current GP settings: GP updates are pushed only
periodically, ~90 minutes; logout/logon; reboot.)

After I applied the domain security policy "Deny log on locally" to user
'abc', I ran the program 'gpupdate.exe' on the active directory server AND
on all of the XP hosts in the domain to manually update the group policy
settings on those machies. That did the trick. User 'abc' can no longer log
on to the XP hosts in the domain.

What I'm trying to figure out now is how to apply the domain security policy
"Deny log on locally" to the members of a security group. Here's what I
tried:

* I removed the domain security policy "Deny log on locally" from the user
'abc'.

* I ran 'gpupdate' on the domain controller and the XP hosts in the domain
and verified that I could once again log on to the XP hosts as user 'abc'.

* On the domain controller I created a security group 'def' and added the
user 'abc' to that group.

* On the domain controller I applied the domain security policy "Deny log on
locally" to group 'def'.

* I ran 'gpupdate' on the domain controller and the XP hosts in the domain.

When I tried logging on to an XP host as user 'abc', I was successful.
<sigh> So what am I missing here??? Why can user 'abc' still log on to the
XP hosts in the domain when user 'abc' is a member of the security group
'def', and security group 'def' has the domain security policy "Deny log on
locally" applied to it???


Jim


>I think you are over complicating things. If you do not want a user to
>logon to a computer then make sure the user is not included in the user
>right to logon locally on the computer offering the share. By default
>domain controllers are configured that way - regular domain users can not
>logon to them. Open Local Security Policy [secpol.msc] and go to local
>policies/user rights and modify logon locally to suit your needs. For
>instance remove users/everyone and just leave administrators and possibly
>other privileged groups you want to logon locally. Keep in mind that the
>deny logon locally user right overrides the logon locally user right so be
>very careful in populating that list and never include users/everyone as
>administrators are also members of users and everyone groups. --- Steve
>
>
> "Jim Fischer" <jfischer_link5809now.here.com> wrote in message
>> FYI: I'm working with Windows Server 2003 Standard, configured as an
>> active directory domain controller.
>>
>> On the server I have a shared folder 'abc'. I created a user
>> non-administrator 'abcuser' and gave that user read-only privileges on
>> the shared folder 'abc'. I deleted the 'Everyone' permissions on the
>> shared folder 'abc'.
>>
>> The goal now is to configure user 'abcuser' so that it has the following
>> two properties:
>>
>> 1) XP hosts in the domain can specify the user account 'abcuser' (and
>> abcuser's password) for authentication purposes to mount the shared
>> folder 'abc' as a network drive, e.g.,
>>
>> > net use /PERSISTENT:NO
>> > net use Q: \server.local\abc * /USER:abcuser
>> Type the password for \server.local\abc: <password><enter>
>> The command completed successfully.
>> ...
>> > net use Q: /DELETE
>> Q: was deleted successfully.
>>
>> 2) User account 'abcuser' CAN NOT be used for local logons (i.e., a user
>> typing in a user-id and password at a keyboard) on any machine in the
>> domain, including the server.
>>
>> How is this type of user configuration done? I've been playing with this
>> for a while now (e.g., Administrator Tools > Domain Security Policy, the
>> Default GPO setup, specifying the specific machine that user 'abcuser'
>> can log on to, etc.) but I can't get it to work. Thanks for any
>> pointers...
>>
>> --
>> Jim
>>
>> To reply by email, remove "link" and change "now.here" to "yahoo"
>> jfischer_link5809now.here.com
>>
>>
>
>




Posted by Roger Abell [MVP] on November 12, 2005, 11:31 am
Please log in for more thread options
It should work using a group in the deny user right just as well
as it does when using the user in the deny user right.
Perhaps you have a little timelag issue again? or some other
blip in your experiment? Also, make sure that the group is
specified as domain\groupname in the policy so that the member
machine know not to expect machine local group.

"Jim Fischer" <jfischer_link5809now.here.com> wrote in message
> Doh! I just figured out one of the missing puzzle pieces. Changes made to
> the security policy are not necessarily applied immediately. (Note to
> self: Some factors that affect the current GP settings: GP updates are
> pushed only periodically, ~90 minutes; logout/logon; reboot.)
>
> After I applied the domain security policy "Deny log on locally" to user
> 'abc', I ran the program 'gpupdate.exe' on the active directory server AND
> on all of the XP hosts in the domain to manually update the group policy
> settings on those machies. That did the trick. User 'abc' can no longer
> log on to the XP hosts in the domain.
>
> What I'm trying to figure out now is how to apply the domain security
> policy "Deny log on locally" to the members of a security group. Here's
> what I tried:
>
> * I removed the domain security policy "Deny log on locally" from the user
> 'abc'.
>
> * I ran 'gpupdate' on the domain controller and the XP hosts in the domain
> and verified that I could once again log on to the XP hosts as user 'abc'.
>
> * On the domain controller I created a security group 'def' and added the
> user 'abc' to that group.
>
> * On the domain controller I applied the domain security policy "Deny log
> on locally" to group 'def'.
>
> * I ran 'gpupdate' on the domain controller and the XP hosts in the
> domain.
>
> When I tried logging on to an XP host as user 'abc', I was successful.
> <sigh> So what am I missing here??? Why can user 'abc' still log on to the
> XP hosts in the domain when user 'abc' is a member of the security group
> 'def', and security group 'def' has the domain security policy "Deny log
> on locally" applied to it???
>
>
> Jim
>
>
>>I think you are over complicating things. If you do not want a user to
>>logon to a computer then make sure the user is not included in the user
>>right to logon locally on the computer offering the share. By default
>>domain controllers are configured that way - regular domain users can not
>>logon to them. Open Local Security Policy [secpol.msc] and go to local
>>policies/user rights and modify logon locally to suit your needs. For
>>instance remove users/everyone and just leave administrators and possibly
>>other privileged groups you want to logon locally. Keep in mind that the
>>deny logon locally user right overrides the logon locally user right so be
>>very careful in populating that list and never include users/everyone as
>>administrators are also members of users and everyone groups. --- Steve
>>
>>
>> "Jim Fischer" <jfischer_link5809now.here.com> wrote in message
>>> FYI: I'm working with Windows Server 2003 Standard, configured as an
>>> active directory domain controller.
>>>
>>> On the server I have a shared folder 'abc'. I created a user
>>> non-administrator 'abcuser' and gave that user read-only privileges on
>>> the shared folder 'abc'. I deleted the 'Everyone' permissions on the
>>> shared folder 'abc'.
>>>
>>> The goal now is to configure user 'abcuser' so that it has the following
>>> two properties:
>>>
>>> 1) XP hosts in the domain can specify the user account 'abcuser' (and
>>> abcuser's password) for authentication purposes to mount the shared
>>> folder 'abc' as a network drive, e.g.,
>>>
>>> > net use /PERSISTENT:NO
>>> > net use Q: \server.local\abc * /USER:abcuser
>>> Type the password for \server.local\abc: <password><enter>
>>> The command completed successfully.
>>> ...
>>> > net use Q: /DELETE
>>> Q: was deleted successfully.
>>>
>>> 2) User account 'abcuser' CAN NOT be used for local logons (i.e., a user
>>> typing in a user-id and password at a keyboard) on any machine in the
>>> domain, including the server.
>>>
>>> How is this type of user configuration done? I've been playing with this
>>> for a while now (e.g., Administrator Tools > Domain Security Policy, the
>>> Default GPO setup, specifying the specific machine that user 'abcuser'
>>> can log on to, etc.) but I can't get it to work. Thanks for any
>>> pointers...
>>>
>>> --
>>> Jim
>>>
>>> To reply by email, remove "link" and change "now.here" to "yahoo"
>>> jfischer_link5809now.here.com
>>>
>>>
>>
>>
>
>




Posted by Steven L Umbach on November 12, 2005, 12:47 pm
Please log in for more thread options
It should work with a security group and I suggest you use global groups as
the security group for what you want to do. It could be for some reason the
user's security token has not been updated yet when he logged onto the XP
Pro computer [cached credentials maybe] or the security policy change had
not yet propagated. I would check Local Security Policy on the XP Pro
computer to make sure your group shows in the user right for deny logon
locally. If the user still can logon use the support tool whoami /groups to
see if his security token shows the group that is listed in the deny logon
user right. Also FYI in Windows XP Pro you can use rsop.msc to see the
current Group Policy settings applied to the computer and logged on user and
from what GPOs the settings came from. --- Steve


"Jim Fischer" <jfischer_link5809now.here.com> wrote in message
> Doh! I just figured out one of the missing puzzle pieces. Changes made to
> the security policy are not necessarily applied immediately. (Note to
> self: Some factors that affect the current GP settings: GP updates are
> pushed only periodically, ~90 minutes; logout/logon; reboot.)
>
> After I applied the domain security policy "Deny log on locally" to user
> 'abc', I ran the program 'gpupdate.exe' on the active directory server AND
> on all of the XP hosts in the domain to manually update the group policy
> settings on those machies. That did the trick. User 'abc' can no longer
> log on to the XP hosts in the domain.
>
> What I'm trying to figure out now is how to apply the domain security
> policy "Deny log on locally" to the members of a security group. Here's
> what I tried:
>
> * I removed the domain security policy "Deny log on locally" from the user
> 'abc'.
>
> * I ran 'gpupdate' on the domain controller and the XP hosts in the domain
> and verified that I could once again log on to the XP hosts as user 'abc'.
>
> * On the domain controller I created a security group 'def' and added the
> user 'abc' to that group.
>
> * On the domain controller I applied the domain security policy "Deny log
> on locally" to group 'def'.
>
> * I ran 'gpupdate' on the domain controller and the XP hosts in the
> domain.
>
> When I tried logging on to an XP host as user 'abc', I was successful.
> <sigh> So what am I missing here??? Why can user 'abc' still log on to the
> XP hosts in the domain when user 'abc' is a member of the security group
> 'def', and security group 'def' has the domain security policy "Deny log
> on locally" applied to it???
>
>
> Jim
>
>
>>I think you are over complicating things. If you do not want a user to
>>logon to a computer then make sure the user is not included in the user
>>right to logon locally on the computer offering the share. By default
>>domain controllers are configured that way - regular domain users can not
>>logon to them. Open Local Security Policy [secpol.msc] and go to local
>>policies/user rights and modify logon locally to suit your needs. For
>>instance remove users/everyone and just leave administrators and possibly
>>other privileged groups you want to logon locally. Keep in mind that the
>>deny logon locally user right overrides the logon locally user right so be
>>very careful in populating that list and never include users/everyone as
>>administrators are also members of users and everyone groups. --- Steve
>>
>>
>> "Jim Fischer" <jfischer_link5809now.here.com> wrote in message
>>> FYI: I'm working with Windows Server 2003 Standard, configured as an
>>> active directory domain controller.
>>>
>>> On the server I have a shared folder 'abc'. I created a user
>>> non-administrator 'abcuser' and gave that user read-only privileges on
>>> the shared folder 'abc'. I deleted the 'Everyone' permissions on the
>>> shared folder 'abc'.
>>>
>>> The goal now is to configure user 'abcuser' so that it has the following
>>> two properties:
>>>
>>> 1) XP hosts in the domain can specify the user account 'abcuser' (and
>>> abcuser's password) for authentication purposes to mount the shared
>>> folder 'abc' as a network drive, e.g.,
>>>
>>> > net use /PERSISTENT:NO
>>> > net use Q: \server.local\abc * /USER:abcuser
>>> Type the password for \server.local\abc: <password><enter>
>>> The command completed successfully.
>>> ...
>>> > net use Q: /DELETE
>>> Q: was deleted successfully.
>>>
>>> 2) User account 'abcuser' CAN NOT be used for local logons (i.e., a user
>>> typing in a user-id and password at a keyboard) on any machine in the
>>> domain, including the server.
>>>
>>> How is this type of user configuration done? I've been playing with this
>>> for a while now (e.g., Administrator Tools > Domain Security Policy, the
>>> Default GPO setup, specifying the specific machine that user 'abcuser'
>>> can log on to, etc.) but I can't get it to work. Thanks for any
>>> pointers...
>>>
>>> --
>>> Jim
>>>
>>> To reply by email, remove "link" and change "now.here" to "yahoo"
>>> jfischer_link5809now.here.com
>>>
>>>
>>
>>
>
>




Similar ThreadsPosted
How to Create Restricted User at the Win2K3 DOMAIN Controller August 14, 2007, 2:00 am
Create a domain account with full access to all files and folders? October 24, 2006, 11:03 am
Create User and Auto Assign to Domain Security Group January 31, 2007, 12:27 pm
How to create a user with access to one server only. April 30, 2007, 6:48 am
Trying to create and debug ASP.NET on Windows 2003 Server February 1, 2006, 5:45 pm
Create a new Web Security Certificate 2003 Server December 27, 2006, 11:16 am
What has Windows 2003 Server security done to domain user profiles January 17, 2006, 11:49 pm
plz help to creating a windows server 2003 domain member user April 7, 2007, 3:08 am
Use Windows 2003 CA to create a web server certificate with alternative DNS names June 2, 2007, 1:02 pm
Restricted User Group November 5, 2005, 3:37 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap