Solved

Mapping network drive with 'net use'

Posted on 2016-10-17
1
38 Views
Last Modified: 2016-10-17
Is there a way to have a script map a network drive based on the current user logged in?
This would be similar to setting up a drive in an AD profile using the %username% wildcard.

I cannot use GPO to map this as it is designed for when they are off network.
0
Comment
Question by:jjwolven
1 Comment
 
LVL 68

Accepted Solution

by:
Qlemo earned 500 total points
Comment Utility
Yes, as long as you can code the relationship, you can build a batch file. You can use the username, for example:
net use h: \\server\users\%username%

Open in new window

0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now