Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

net use skip if credentials don't match

Avatar of it-support-at
it-support-atFlag for Austria asked on
Active DirectoryScripting LanguagesWindows Batch
4 Comments1 Solution1305 ViewsLast Modified:
Dear All,

I do have a netlogon script which connects some network drives, e.g.
net use o: \\bananas01\commercial
net use o: \\bananas01\technical

The Shares are permitted only for some special groups, If this user is not member of the commercial group the netlogon script will stop and ask for user credentials:

Enter the user name for 'bananas01':

How can i modify the net use comment to force it, for skipping if there is a credential issue.
Thanks
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris DentFlag of United Kingdom of Great Britain and Northern Ireland imagePowerShell Developer
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answers