Discussion Locked

map drives on boot

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need a way for NT to map a drive as it boots without logging on to the machine.

6 replies

by reply

HI

you need to add a registry entry.
Get to the key
HKLM\Software\Microsoft\Windows\CurrentVersion\RunServices
and set a new value:eg:
C:\WINNT\SYSTEM32\net.exe use \\server\sharename

by jkean

the key RunServices does not exist. Are you suggetsing that I add the key? Your answer seemed to indicate that I only add a value for this key if it existed.

by reply

Hi

I'm sorry. The key is called

HKLM\Software\Microsoft\Windows\CurrentVersion\Run

and set a new DWORD entry called Mapping

with the value
C:\WINNT\SYSTEM32\net.exe use \\server\sharename

SO hope that works.
Previos was forWIN 9x

by jkean

the way I resolved this was to create a service that excecuted a batch file that mapped the drive.

This discussion is closed to new replies.