![]() |
|
|
|||||||
| Petri.co.il is happy to award auglan the title of Most Valuable Member !!! |
| Register | Calendar |
Search |
Today's Posts |
Mark Forums Read |
| Notices |
|
|
Mapped dive gets disconnectedthis thread has 10 replies and has been viewed 970 times
|
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||||||
|
||||||||
|
Hi there,
I have a network with about 30 work stations. They all have a drive P mapped to the server (2008 R). A few do not get connected to the mapped drive, when the users log in. It does not happen every tine. Some are running XP SP2 some Windows 7. When I am in the office I re-mapped them fast but when I'm not in, is a major problem. Re-mapping requires server's user name and password, and I do not want to share it with the office. Any suggestions ? Maybe a script to reconnect .. ? Thank you, for your consideration and time. Alex |
|
#2
|
||||||||||
|
||||||||||
|
Is this a domain or a workgroup?
You can encrypt credentials in a script: http://www.google.co.uk/search?hl=en...1c.QMiXyXfa4aQ
__________________
Tom Jones MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+ PhD, MSc, FIAP, MIITT IT Trainer / Consultant Ossian Ltd Scotland ** Remember to give credit where credit is due and leave reputation points where appropriate ** |
|
#3
|
||||||||
|
||||||||
|
It is a domain, and the work stations that give me this problem, connect thru
remote desktop. [QUOTE=Ossian;263272]Is this a domain or a workgroup? You can encrypt credentials in a script: |
|
#4
|
||||||||||
|
||||||||||
|
If its a domain, why do you need credentials -- just give suitable permissions on the share (NTFS AND Share Permissions) and users will automatically get access
__________________
Tom Jones MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+ PhD, MSc, FIAP, MIITT IT Trainer / Consultant Ossian Ltd Scotland ** Remember to give credit where credit is due and leave reputation points where appropriate ** |
|
#5
|
||||||||
|
||||||||
|
I feel your pain!!!
Use your Domain Controller to map the drive...... If you haven't created your own GPO, then go to Default Domain Policy\User Configuration\Preferences\Window Settings\Drive Maps. If you have your own GPO, go to same location under your GPO. Right Click and select New Mapped Drive. Map the drive in the "Location Box", and set up "Label As", just don't use A thru D sometimes E. open up a cmd prompt, and type in gpupdate /force. Log off the terminal server users then back on. This is how my company is set up, it's a beautiful thing!!!! Last edited by Kobe 310; 23rd August 2012 at 15:59.. |
|
#6
|
||||||||
|
||||||||
|
Thanks for your input, I was trying something else, but it's not working.
I have a bat file, to run when user logs in thru TS. But it's not working. Here is my file: ECHO Begin Mapping Drives net use P: \\SV2\DATAPART1 pass /USER:Administrator\SFNG.LOCAL exit P is the drive SV2 server name DATAPART1 share name pass password Administrator user name SFNG.LOCAL is the domain Quote:
|
|
#7
|
||||||||||
|
||||||||||
|
With regards to the command to map the drive. See what happens with this below.
The @echo off will hide the rest of the command from the window, so if you test on your desktop first with a batch file then you might not want to include it. ECHO Begin Mapping Drives @echo off net use P: \\SV2\DATAPART1 /USER:SFNG.LOCAL\Administrator password
__________________
Please remember to award reputation points if you have received good advice. MCSA+Messaging. MCITP -W7, CCNA in progress. Last edited by uk_network; 27th August 2012 at 23:05.. |
|
#8
|
|||||||||
|
|||||||||
|
I wouldn't ever add an admin account in a script for anything but testing purposes.
|
|
#9
|
||||||||
|
||||||||
|
You don't need a .bat file, just map the drive in the location part. ex. \\ipaddress\share
On your .bat file, you might want to try using the ip address instead of the net bios name, i have that problem ALOT!!!! net use P: \\192.168.1.100\DATAPART1 pass /USER:Administrator\SFNG.LOCAL In speaking about Administrators, make sure if you get it to work with the admin, you test a domain user. It may work for Admin, and then i think i have it figured out, and get bubble burst when it doesn't work for domain users because of gp policy. Last edited by Kobe 310; 5th September 2012 at 16:37.. |
|
#10
|
||||||||||
|
||||||||||
|
Just set the correct NTFS and Share permissions for the users, or better a group where the users belong to.
Using an admin account to map a drive is just nuts.
__________________
Marcel Netherlands http://www.phetios.com http://blog.nessus.nl MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE No matter how secure, there is always the human factor. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Legacy NIC Disconnected? | Kyuuketsuki | Microsoft Hyper-V Technology | 2 | 28th September 2009 14:44 |
| Mapped drives show as disconnected. | bigalusn | Active Directory | 26 | 10th March 2009 18:05 |
| 'Disconnected Mapped Drive"... | Cyberhypi | Windows Server 2000 / 2003 | 2 | 18th December 2007 13:02 |
| TS Clients getting Disconnected | Mark0 | Terminal Services | 5 | 13th July 2006 15:15 |
| disconnected | zivw | Outlook XP/2003/2007 | 1 | 2nd August 2005 09:27 |