Jump to content

khsh

Member
  • Posts

    5
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    country-ZZ

About khsh

khsh's Achievements

0

Reputation

  1. thank you thank you matt!! you are the man. that is exactly what i needed. thanks!!
  2. Hi, I'm having trouble getting winpe 2.0 to work with static ip addresses. My wpeinit.log complains about validation although i successfully validated unattend.xml in WSIM. The output is as follows: Info WPEINIT is processing the unattend file [x:\unattend.xml] Warning Validation of WinPE unattend settings failed with status 0x8022000f Warning Applying WinPE unattend settings failed with status 0x8022000f; ignoring shutdown settings My unattend.xml file is as follows: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-TCPIP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Interfaces> <Interface wcm:action="add"> <UnicastIpAddresses> <IpAddress wcm:action="add" wcm:keyValue="1">192.168.5.10/24</IpAddress> </UnicastIpAddresses> <Routes> <Route wcm:action="add"> <Identifier>0</Identifier> <Metric>20</Metric> <NextHopAddress>192.16.5.1</NextHopAddress> <Prefix>0.0.0.0/0</Prefix> </Route> </Routes> <Identifier>Local Area Connection</Identifier> </Interface> </Interfaces> </component> </settings> <cpi:offlineImage cpi:source="wim://comp1/images/winpe.wim#Microsoft Windows Vista PE (X86)" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> Anyone have any ideas as to what I may be doing wrong? Thanks!
  3. problem solved. created an executable file that logs me on to the remote machine before mapping the drives. the exe calls the Microsoft Networking API "WNetAddConnection2" inside a while loop that continually tries to connect until it hits a timeout value or successfully connects. thanks for all of your input!!
  4. roger, do you recall what network command you used? it appears that the list of commands that net.exe (xp version) understands is somewhat limited. i can't see any "net initialize" like we have in dos. also, i did try the start /wait suggestion but that didn't seem to work either. it's as though the process hangs and won't finish initializing the stack until the user has interuptted the shell window in some way.
  5. hello, new user here. i am using windows pe to boot up a client and map a couple of drives back to a server. my winpe is configured to execute startnet.cmd with the following commands. factory -winpe net use f: "\\server\\share" mypassword /USER:username i'm using dhcp specified in my [winpe.net] section of winbom.ini when executing the net use command fails with system error 1231 (The network location cannot be reached). however, after failing if i simply type in by hand "net use f: "\\server\\share" mypassword /USER:username" it maps the drive just fine. it only fails when trying to execute it from the script. has anyone else seen this behavior or possibly knows of a solution to get the command to work from a script? thanks!
×
×
  • Create New...