Topic: Mapping drive with WIN81 PE mode  (Read 2257 times)

Mapping drive with WIN81 PE mode
« on: March 13, 2014, 10:49:14 AM »

schiffne

  • Apprentice
  • *
  • Date Registered: May 2013
  • Posts: 9
Hi everyone,

when create a new pe image with the option "PE in RAM" just with the default settings, the iso gets created without any issues and I am able to boot from it, also with network support.

When I then try to map a drive via the command prompt like:

net use k: \\servername\share

I am getting the following error: The semaphore timeout has expired....

Any ideas? Yes the machine got an ip.

Capturing the image with "OS in RAM" does not have the issue.

Many thanks
Marco

Re: Mapping drive with WIN81 PE mode
« Reply #1 on: March 14, 2014, 12:02:17 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
I do not know what is semaphore timeout!
With 8.1 x86 build PE in Ram and  the default settings, net use .... has worked here, carefree.
Have you also tried with PENetwork?

Re: Mapping drive with WIN81 PE mode
« Reply #2 on: March 14, 2014, 06:10:19 AM »

schiffne

  • Apprentice
  • *
  • Date Registered: May 2013
  • Posts: 9
Hi Chris,

Thanks for testing. I did try with With 8.1 x64 build PE. I also tried with penetwork, but same issue. Can you please try on 64bit one more time and confirm.


Many thanks for your support
Marco

Re: Mapping drive with WIN81 PE mode
« Reply #3 on: March 14, 2014, 12:42:53 PM »

schiffne

  • Apprentice
  • *
  • Date Registered: May 2013
  • Posts: 9
Hi Chris,

I did some further investigation and it looks like net use does no longer work with Windows 2003 Server, if I like to map a share on a 2008 or 2012 server it works fine. Anyone got an idea, why this no longer works?

BTW, not sure if this related, when trying to do a sql query within a vbs file against a 2005 sql server on a 2003 server, it does not work, you are getting ssl certificate issues.

THanks
Marco

Re: Mapping drive with WIN81 PE mode
« Reply #4 on: March 14, 2014, 09:47:52 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Well catch  :thumbsup: This is why it worked here in PE x86/x64. Is it the same with the OS Build.
It must miss stuff in the building for Win2003Server, perhaps a capture with Procmon can talk.
:smile:

Re: Mapping drive with WIN81 PE mode
« Reply #5 on: March 15, 2014, 07:53:47 AM »

GoodNPlenty

  • Apprentice
  • *
  • Date Registered: Jun 2013
  • Posts: 6
I did some further investigation and it looks like net use does no longer work with Windows 2003 Server, if I like to map a share on a 2008 or 2012 server it works fine. Anyone got an idea, why this no longer works?
You have to change LMCompatibilityLevel to Connect Win8.x SE to Server 2003 or below.

[HKEY_LOCAL_MACHINE\Tmp_SYSTEM\ControlSet001\Control\Lsa]
"LmCompatibilityLevel"=dword:00000002

Value: LMCompatibilityLevel
Value Type: REG_DWORD
Valid Range: 0-5
Description: This parameter specifies the type of authentication to be used.

Level 0 - Send LM response and NTLM response; never use NTLMv2 session security
Level 1 - Use NTLMv2 session security if negotiated
Level 2 - Send NTLM authentication only
Level 3 - Send NTLMv2 authentication  only
Level 4 - DC refuses LM authentication
Level 5 - DC refuses LM and NTLM authentication (accepts only NTLMv2)

By default the value is set to 3, to connect to Server 2003 and below change to 2.

Re: Mapping drive with WIN81 PE mode
« Reply #6 on: March 15, 2014, 09:47:09 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Thanks for the info  :thumbsup:

However, it is already like that in 2 -shell&Config
Code: [Select]
// add 14.12.2007 by powaking for support old samba servers
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\Control\Lsa,LmCompatibilityLevel,2

 

Powered by EzPortal