gangsterhenk Posted May 30, 2007 Posted May 30, 2007 In the unattended.xml, section RunSynchronousCommand, Pass1 WindowsPE,I tried using the command "net use w: \\server\share" to map a drive. I also enteredthe proper credentials. However the drive isnt mapped under PE. What am i doing wrong ?<RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Credentials> <Domain>mydomain</Domain> <Password>mypassword</Password> <Username>administrator</Username> </Credentials> <Path>net use w: \\myserver\myshare</Path> </RunSynchronousCommand> </RunSynchronous>
KraftDinner Posted June 28, 2007 Posted June 28, 2007 from What I see you're trying to map a network drive for when WinPE boots so you don't have to do it manually. If I'm correct this will not work. You're best bet would be to either make a batch file and execute it or just type it in yourself. It took me quite a bit of searching to find how to map a domain network drive, but heres the syntax: NET USE <DriveLetter>: <NetworkLocation> <DomainPassword>|* /USER:<Domain>\<DomainUserName><DriveLetter> = The letter you would like to map<NetworkLocation> = The location on the network you are trying to map to<DomainPassword> = The users domain password<Domain> = The domain the user and network location is on<DomainUserName> The username of the userExample: NET USE I: \\Domshare\Install mypass123 /USER:mydomain.ca\domuserHope this helps.-KD
FireGeier Posted June 29, 2007 Posted June 29, 2007 Hello gangsterhenk!Like KD has described you can't put a command - like net use - into the path section of xml file. You just can put in the path there - like \\server\share, without net use.So like KD has described you need to establish the connection to the share by using a batch.BTW, make sure that you have access to your network at all by enabling the network support in your batch file. Usewpeutil intializenetworkas first command in your batch.Regards,Martin
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now