• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 552
  • Last Modified:

Network Drives Mapping

hello there.

I have a windows server 2008 R2 working as a terminal server, and do also have a windows 2003 R2 Terminal server.

I have a login script for all the users base on their department, they all connect to the 2K3 server, but now i need some of those users to use the 2K8 but I do not want to connect any network drives on the server, there is a way to prevent network drives to be mapped on the server? I cannot use the /Q to delete the drives.

anybody knows how to do it at the server level?

thanks!
0
Tanus Sacin
Asked:
Tanus Sacin
  • 2
2 Solutions
 
Darius GhassemCommented:
You don't want the users to use the login script when they are logging into this server only?
0
 
Alan_WhiteCommented:
It depends on how the drives are mapped on the 2003 system.  

Are you running a logon script allocated in the AD user account? Or assigned from a group policy? Or assigning a home drive from AD?

If you are doing it in a script, you can detect which OS the script is running in and then choose to map or not.

eg
If OS <> "2008R" then
   mapDrive "H", "\\server\share"
End If
0
 
Tanus SacinAuthor Commented:
either stopping the login script to run on the server o dont let the user to connect any network drive
0
 
Darius GhassemCommented:
The login script is going to happen when a user logins no way to stop this within AD itself. You would have to configure the script itself to not add the network drive.

If you were using AD GPO to deploy network drives you could stop the network drives from being created as well
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now