Jump to content

How to map network shares without login?


venim

Recommended Posts


You'll have to login to map drives.

Create a batch file and put it in the startup folder.

net use x: \\computername\sharename

I'd also start the batch file with a delete

net use x: /delete

Or modify the original net use with a /persistant:no

net use x: //computername/sharename /persistant:no

You could also put the batch file somewhere handy and just run it when you need it.

Hope this helps. Good luck!

Link to comment
Share on other sites

You can use SRVANY (resource kit) for running a batch script without a user.

but you can not use that to set Drivemappings because this are user settings.

so you will have to have a userprofile loaded to set a (usefull) mapping

(setting a mapping for the serviceaccount is not wat you want I think)

gr /\/\o\/\/

Link to comment
Share on other sites

I doubt what you want to do is possible.

Why do you want to map shares before login anyway?

The whole point of logging in is so that the windows security knows if you are allowed access or not. Until you actually login, the server will only supply DHCP info, and a netlogon anyway.

Someone please correct me if i'm wrong, but i cant see a way of creating a connection to a share that wouldn't exist until authentication and permision is granted.

A way round it is for the client pc to auto login, bu then you have no security unless you tie down the rights.

Hope this is of some help...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...