Save Credentials not working (File Sharing)

C

clintster

Hi

I would like to setup a batch file to automaticallly map a drive on my work
domain laptop to my home workgroup computer. I don't want to add a password
in the batch file (security reasons) and was trying the savecred option in
net use but after disconnecting the mapped drive, when I try map again it
again asks for my username and password.

Thanks
Clinton
 
L

Lanwench [MVP - Exchange]

In
clintster said:
Hi

I would like to setup a batch file to automaticallly map a drive on
my work domain laptop to my home workgroup computer. I don't want to
add a password in the batch file (security reasons) and was trying
the savecred option in net use but after disconnecting the mapped
drive, when I try map again it again asks for my username and
password.
Thanks
Clinton

I've never tried using savecred, but I thought it was used for runas only
(and I've heard it's a huge security hole).
However, take a look at http://support.microsoft.com/?kbid=287536 .
 
D

Doug Knox MS-MVP

NET USE [/PERSISTENT:{YES | NO}]

Persistent is the command line parameter you want.
 
D

Doug Knox MS-MVP

It, /SAVECRED for runas, is a huge security hole, because it doesn't just apply to that one instance. Any later use of RunAs won't require a matching password for the RunAs username.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top