HIdden Share will not map using login script

Posted on 2009-07-10
Medium Priority
Last Modified: 2012-05-07
Right now I have a simple login script that mapps user to a hand full of network shares using the "net use command" One of this shares is a hidden share. Users can access this share without a problem using the UNC path but when they log off and log in again the drive mapping for the share never maps????
Question by:compdigit44
  • 2
LVL 66

Accepted Solution

johnb6767 earned 1000 total points
ID: 24827061
Whats the error when you ntry and map it manually?
LVL 20

Author Comment

ID: 24828126
No errors the drive maps fine when mapped manually
LVL 31

Assisted Solution

by:Henrik Johansson
Henrik Johansson earned 1000 total points
ID: 24830580
What's the error when trying to use logon script?
If logon script is run visible, add a line with 'pause' after the mapping.
Alternative, add an 'echo %errorlevel% >> c:\temp\maperror.txt' to have the error code saved to text file.
LVL 20

Author Comment

ID: 24830707
I found the problem..

I had a syntax error in my script.... Oops... ;-)

Thanks Again..

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
Seizing the Operation Master Roles in Windows Server 2016 in case of FSMO holder failure.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

600 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