WinPE and WSH issues?



Ravi
07-10-2005, 03:16 AM
All,

I have been trying to automate some of my activities using WinPE. in
that
process i wrote a script to find the system model and based on that map
a
network drive to a build server. here is a part of it:

Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive "Z:", "\\10.1.1.1\Images", "Administrator",
"abc_123"

Now, when I run this script on my Windows XP box, it maps the drive
without
any issue. But when I run it inside my WinPE environment, i get an
error
message saying that "Logon session is expired or not
available"

My build server is a Windows 2003 Sp1 Server with ADS and RIS
installed. I
named the domain as TestDomain.
Any ideas why is this not working?

Thanks for your time,
Ravi


WinPE and WSH issues?