Permanently map network drive without logon (Win2k/Windows 2000 server)

If your running Windows 2000 server, or newer, you can edit the server gpo “computer logon script” section to map the drive. This script gets processed before anyone logs on. Here are the detailed steps to do that:

  1. Start -> Run -> mmc
  2. Add the Group Policy snap-in
  3. Console Root -> Local Computer Policy -> Computer configuration -> Windows Settings -> Scripts -> Startup -> Show Files
  4. Create a batch script called mapping.bat, that contains the mapping command (e.g. “net use z: \servershare“)
  5. Run the batch file manually to verify that it works
  6. Reboot the box to verify that the mapping works on reboot

This entry was posted in Windows and tagged . Bookmark the permalink.
  • Anonymous

    Hi Balazs,

    Thanks for that. Proved to be very usefull.
    Another method to get to the same edit is to run gpedit.msc from Start->Run
    Then you also see the path:
    Local Computer Policy -> Computer configuration -> Windows Settings -> Scripts -> Startup

    All the best,

    Willem

    • http://newpush.com Charlie

      Thank you Willem, this is a great tip, I just tried it, and I have to say, it is much easier.

NewPush has solutions to fit your business needs.  For more than a decade, our focus has been to take on the technical challenges that are the hardest and most time-consumming.  Our goal is to free up your resources to focus on the core activities of your business and to drive your business performance.  Please visit our main site at newpush.com for more information or call us at +1-303-423-4500.