[<<]Message[>>]    [<<]Author[>>]    [<<]Subject        [<<]Thread[>>]

Number : 4120 Date : 2003-03-24 Author : Garry Deane Subject : Re: Is it possible to specify the user (with Password) when running batch on Network Size(KB) : 1
--- In xxcopy@yahoogroups.com, "roozbehkamyar" wrote: > Hi > > I am setting up a backup system where files from > different computers are to be backed up. Every time > I restart the Backup computer, I have to logon to each > computers shared resource. If I don't the path to > the directories is not recognized. What I need basicaly > is an automatic logon to remote computers. > > The operative system is Windows 2000 Professional edition. > I tried the procedure explained by Kan Yabumoto (Scheduled > task, advanced setting ,...) But it only recognizes the > user on local computer and not the user on remote computer. > Somebody suggested that this capability was not built in > Windows 2000 Professional edition, and that only Windows > 2000 Sever Edition has that capability. > > Now I understand the risk invovled in the method J. Merrill > suggested (RUNAS....) but is it another way to use the RUNAS > without being prompted for password? I'm not sure why you should have to logon to the remote shares if your credentials already allow that access. It looks like your user accounts aren't set up correctly. Anyway you can use NET USE to authenticate to a remote resource with a specified user name and password. See NET HELP USE (and maybe NET HELP USER). NET USE \\computer /USER:username password As has already been stated, this is very insecure. You should at the very least store the batch file in a directory which can only be accessed by an administrator. Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.