One win 7 pc doesnt reconnect shares - others do. (SRV2K3 env.)

prooi

New member
Local time
7:42 PM
Messages
2
Hello.

I am administering a network that runs with a Windows Server 2003 as DC, and several Windows 7 clients.

We have a problem with one of the clients, and that is, that the network drives are not automatically reconnected, meaning the user has to go into explorer, click the network drive (which has a red cross over it) to gain access to the share.

This is not acceptable behavior, so is there something I can do to fix this?

Drives are mapped with this batch script:
Code:
@ECHO OFF
net use f: /delete
net use h: /delete
net use i: /delete
net use k: /delete
net use l: /delete
net use p: /delete

net use f: \\server\sd /yes
net use h: \\server\user$\%username% /yes
net use i: \\server\Administration /yes
net use k: \\server\Skrivestue /yes
net use l: \\server\Common /yes
net use p: \\server\Application /yes
Can that code be optimized in any way?

And how does drive mapping work with group policies now? I know it has been buggy earlier, but is this fixed now?

Regards,
Frederik
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64 | OpenSUSE 12.1 x64Intel i7 2600K16GB DDR3XFX HD5770
Computer Manufacturer/Model Number
Self build
OS
Windows 7 Ultimate x64 | OpenSUSE 12.1 x64
CPU
Intel i7 2600K
Memory
16GB DDR3
Graphics Card(s)
XFX HD5770
Sound Card
Creative X-Fi
Monitor(s) Displays
3x Samsung Syncmaster 2443BW
Screen Resolution
1920x1200x3 (eyefinity)
Hard Drives
1x 128GB Crucial RealSSD C300
1x Western Digital 2TB
PSU
Corsair HX620
Case
Fractal Design Define R3
Keyboard
Logitech G15 (Blue backlight)
Mouse
Logitech G9x
Internet Speed
30/2
Hi,

Add the persistant:yes at the end of the command line to see if that makes any difference. I would also not delete the previous net use.

ALSO, the drive letters are quite low. If users have a USB Stick plugged in it may take the drive letter of one of your mapped drives.


Create a new script and test on one of the Windows 7 PCs:

net use f: \\server\sd /persistent:yes
net use h: \\server\user$\%username% /persistent:yes
net use i: \\server\Administration /persistent:yes
net use k: \\server\Skrivestue /persistent:yes
net use l: \\server\Common /persistent:yes
net use p: \\server\Application /persistent:yes

Dave
 
Last edited:

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7 2600K (O/C 4.7GHz)8GB Corsair Vengeance LP, DDR3, 1600MhzNvidia GTX 460 Graphics Card
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate x64
CPU
Intel Core i7 2600K (O/C 4.7GHz)
Motherboard
Asus ROG Maximus IV Extreme-Z - Intel Z68 Chipset
Memory
8GB Corsair Vengeance LP, DDR3, 1600Mhz
Graphics Card(s)
Nvidia GTX 460 Graphics Card
Sound Card
Onboard
Monitor(s) Displays
Dell E228WFP
Hard Drives
2 x 500GB Samsung SpinPoint Drives (1 for OS, 1 for Data and Apps)
PSU
CoolerMaster 1000W
Case
CoolerMaster HAF
Cooling
Air
Internet Speed
Fibre - 60MB Down, 30MB Up
Antivirus
ESET NOD32 Antivirus
Back
Top