Server 2008 User Locking

Robert
Robert used Ask the Experts™
on
I have a server running Server 2008.  It is running Active Directory with Domain.  It currently has shared folders.  I was wondering if I could restrict access to the machine, but still have the shares available to the users..
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Yes.  When you setup the shares you need to set them up with the proper permissions but the user doesn't have to be able to log into the server to access the files.  I would suggest using an AD group for permissions where available to make it easier on you.
Top Expert 2015

Commented:
Hi Robert,

I think with server 2008 the Remote Desktop is disabled by default so other users will not be able to remote access it unless you explicitly allow them to.

Also, normally servers are locked in a server room and only the network administrator can access that server.

As for the shares, it has nothing to do with being able to log into the server itself.  File/folder shares require separate permissions than the actual access to the server itself.

Hope that helps.

Wayne

Author

Commented:
The users that I would want to share files with are not domain users or even users that are on the account.  I was going to make them one general account and use that.  But that opens up the server access again.  


@Wayne : This server is located in room where everyone has the key.
Top Expert 2015
Commented:
Hi Robert,

I understand now.  You can create the general account and use that.  Then create a new GPO or edit the "Default Domain Controllers Policy".

Go to: Domain controller OU properties > Group Policy tab > select the Default domain controller policy > edit and under Windows Settings > Security Settings > Local Policy > user Rights Assignment > edit "Allow logon locally" remove Everyone and leave only Administrators there.

Also, on the DC in case it doesn't follow any policy (since it's the domain controller), do the same:

Computer Config>Windows Settings>Security Settings>Local Policies>User Rights Assignments > Allow logon locally.

Only leave the domain and local administrator account allowed to login locally.

You keep the admin password and not tell anyone.  This way they can access the share using the general account but can't access the server locally because only administrator is allowed.

Wayne

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial