Jump to content

Save user/pass Mapped Drive


Recommended Posts

Posted

Hello,

 

I have a Windows 2003 R2 SP2 server which is stand alone on our network, I

want to use something like a robocopy to automate the process of moving files

from that server to our file server which is on the domain.

 

I create a share on the file server and specfiy that only the domain admins

can access this share. I then go to the server which is stand alone and map a

network drive z to the share, I specfiy to connect with the domain cretionals

and I save the user/pass.

 

The share connects and maps fine the first time but everytime I restart I

have to constantly keep puttign in the domain user/pass even tho I have it

set to save it.

 

Why is this?

 

And I cannot add that stand alone server to the domain, otherwise I would

have done that :)

  • Replies 1
  • Created
  • Last Reply

Popular Days

Posted

RE: Save user/pass Mapped Drive

 

I had this similar issue previously and my work around though crude worked

fine.

 

create a batch file with something along the following

 

@echo off

net use x: /del

net use x: \\COMPUTER\SHARE /USER:domain\useraccount /PASSWORD:password

/PERSISTENT:NO

robocopy blah blah blah

pause

 

there are ups and downs to doing it this way. downs is the security of the

bat file with a domain account but that can be worked around by dropping the

domain admin attributes and using NTFS ACL's to secure the directory.

 

Enjoy, Good luck.

 

Jammy

 

"AU" wrote:

> Hello,

>

> I have a Windows 2003 R2 SP2 server which is stand alone on our network, I

> want to use something like a robocopy to automate the process of moving files

> from that server to our file server which is on the domain.

>

> I create a share on the file server and specfiy that only the domain admins

> can access this share. I then go to the server which is stand alone and map a

> network drive z to the share, I specfiy to connect with the domain cretionals

> and I save the user/pass.

>

> The share connects and maps fine the first time but everytime I restart I

> have to constantly keep puttign in the domain user/pass even tho I have it

> set to save it.

>

> Why is this?

>

> And I cannot add that stand alone server to the domain, otherwise I would

> have done that :)


×
×
  • Create New...