MSFN Forum: WinPE 2.0 not working with UNC - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

WinPE 2.0 not working with UNC Starting an executable form an network share with unc not possible Rate Topic: -----

#1 User is offline   ms007 

  • Group: Members
  • Posts: 2
  • Joined: 08-March 05

Posted 01 November 2006 - 06:33 AM

For better understanding and reproducing I have written this vbs script.
It should open the sysinternal process explorer on a unc share, which has been mapped before.

Set WSHShell = CreateObject("WScript.Shell")
Set WSHNetwork = CreateObject("WScript.Network")

On Error Resume Next
WSHNetwork.RemoveNetworkDrive "K:"
WSHNetwork.MapNetworkDrive "K:", "\\srv01\d$", False, "user1", "password1"
On Error Goto 0

WSHShell.Run "\\srv01\d$\procexp.exe", 1, True


When I run this script, it brings this error message:
Line 9 ... The system cannot find the file specified. Code: 80070002

When I adapt line 9 like this
WSHShell.Run "cmd.exe /c \\srv01\d$\procexp.exe", 1, True
or like this
WSHShell.Run "k:\procexp.exe", 1, True

everything works like expected.

With WinPE 1.6 running the script also works fine. I searched the forum for this error but it seams that this behaviour was not posted before.

Also changing zone information in the registry like described on: http://support.micro...kb/303650/en-us does not change the situation.

Has anybody the same problems?

Cheers
Marc


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy