MSFN Forum: WinPE network log on - MSFN Forum

Jump to content



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

WinPE network log on logging on to a network with WinPE Rate Topic: -----

#1 User is offline   Crowgoth 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 15-April 04

Posted 15 April 2004 - 02:42 PM

Does anyone know how I can customize WinPE to automatically logon to a network share? I need to execute a batch file to map drives to a network share and I want to store the user credentials in the winbom.ini.


#2 User is offline   syrynxx 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 03-March 04

Posted 16 April 2004 - 02:08 PM

The base process (shell) runs as a local system account, which doesn't have the ability to connect to a network as itself. WinPE can't join a domain, so you can't log in natively with a domain account. So I assume you're talking about mapping a drive as another user, rather than trying to run the shell as a network account.

The NET USE command works like a champ for mapping network drives with alternate credentials, but if you feed it a password, it's executed in clear text. Syntax is

NET USE X: \\server\share /u:domain\userid password

You could throw this in a CMD file - either in the one defined as the shell (MS WinPE) or called by the shell CMD file.

That's a way to accomplish what you're asking if you're not trying to accomplish anything fancy. As far as storing the credentials in the winbom.ini file, you could write CMD shell script to parse the file and pull a value out of it, but - yecch. I don't like plain-text passwords.

The most elegant way would be to embed a network attachment statement in a vbs script (Requires the OC2.bat in MSPE), then using SCRENC to encode it as a vbe file. Technically reversible encryption, but good enough to hide from most prying eyes.

#3 User is offline   Crowgoth 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 15-April 04

  Posted 16 April 2004 - 03:02 PM

Perfect just what I need! Thanks syrynxx!!

#4 User is offline   stav30 

  • Group: Members
  • Posts: 2
  • Joined: 28-April 04

Posted 29 April 2004 - 04:21 AM

Try PENETCFG.exe from...

http://www.geocities.com/pierremounir/

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