Solved

Mapping network drive with 'net use'

Posted on 2016-10-17
1
46 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
ID: 41846968
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
pdf convertor 7 66
copying drivers in MDT 7 30
equivalent of Enterprise 2008R2 OS edition in 2016 2 29
Pervasive SQL Error 4 24
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…

895 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

11 Experts available now in Live!

Get 1:1 Help Now