Help - Search - Members - Calendar
Full Version: mstsc / rdp 6.0
The CD Forum > Bart's PE Builder > Plugins
equate975
I'm trying to get mstsc 6.0 working in pe, but for some reason I can't get it.

I've done this

http://www.911cd.net/forums//index.php?sho...61&hl=mstsc

Which just gave me an error saying that mstscax.dll isn't in the path (it is though). Then I just tried slip streaming the XP mstsc 6.0 into my iso and building off that, but it must have not worked because 5.2 still comes up.

The main reason I am trying to get 6.0 is I think I am having an issue with 5.1/5.2 auto connecting. Even though I have passwords for rdp login in xp disabled, it still prompts me to login after the rdp session is established.

equate975
Ok, so I got it to work, I think I was missing some mui or dll files. I made a new plugin folder, and this is what I have:

aaclient.dll.mui
lhmstsc.mui
lhmstscx.mui
mstsc.exe
mstsc.exe.mui
mstscax.dll
mstscax.dll.mui

then

mstsc6.inf
mstsc6_nu2menu.xml

In my inf:

; mstsc.inf
; PE Builder v3 plug-in INF file for Remote Desktop Client
; Created by Bart Lagerweij

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="Remote Desktop Client 6"
Enable=1

[WinntDirectories]
a="I386\SYSTEM32",2
b="I386\SYSTEM32\en-US",2

[SourceDisksFiles]
mstsc.exe=a,,1
mstscax.dll=a,,1
mstsc.exe.mui=b,,1
mstscax.dll.mui=b,,1
lhmstsc.mui=b,,1
lhmstscx.mui=b,,1
aaclient.dll.mui=b,,1
mstscax.dll.mui=b,,1


[Append]
nu2menu.xml, mstsc_nu2menu.xml


So RDP 6.0 will start up now, but I have a connection issue. When I try and connect it will say "An authentication error has occurred (Code: 0x507)"

I have my RDP machine I am trying to get to, set not to ask for a password when connected, so it will use the info provided in the RDP connection so I don't get a double prompt. I can connect fine with other machines.

EDIT:

I take some of this back, I only get the error if I try to save my credentials. I'm assuming this is now a keychain issue. But if I don't save them and try to connect, it appears that it is going to connect, but nothing happens. The RDP login program will close (like its going to establish a connection) but then nothing happens.
andra
just a thought ...

do you have cryptsvc running ?
Joshua
QUOTE (equate975 @ Sep 18 2009, 11:27 PM) *
Ok, so I got it to work, I think I was missing some mui or dll files. I made a new plugin folder, and this is what I have:

Under win7pe, i copied this files to get it working!
QUOTE
FileCopy,"%InstallSRC%\Windows\System32\mstsc.exe","%TargetDir%\Windows\System32"
FileCopy,"%InstallSRC%\Windows\System32\mstscax.dll","%TargetDir%\Windows\System32"
FileCopy,"%InstallSRC%\Windows\System32\msacm32.dll","%TargetDir%\Windows\System32"
If,ExistFile,"%InstallSRC%\Windows\System32\%DistLang%\mstsc.exe.mui",FileCopy,"%InstallSRC%\Windows\System32\%DistLang%\mstsc.exe.mui","%TargetDir%\Windows\System32\%DistLang%"
If,ExistFile,"%InstallSRC%\Windows\System32\%DistLang%\mstscax.dll.mui",FileCopy,"%InstallSRC%\Windows\System32\%DistLang%\mstscax.dll.mui","%TargetDir%\Windows\System32\%DistLang%"
If,ExistFile,"%InstallSRC%\Windows\System32\%DistLang%\msacm32.dll.mui",FileCopy,"%InstallSRC%\Windows\System32\%DistLang%\msacm32.dll.mui","%TargetDir%\Windows\System32\%DistLang%"
//
If,ExistFile,"%InstallSRC%\Windows\System32\en-US\mstsc.exe.mui",FileCopy,"%InstallSRC%\Windows\System32\en-US\mstsc.exe.mui","%TargetDir%\Windows\System32\en-US"
If,ExistFile,"%InstallSRC%\Windows\System32\en-US\mstscax.dll.mui",FileCopy,"%InstallSRC%\Windows\System32\en-US\mstscax.dll.mui","%TargetDir%\Windows\System32\en-US"
If,ExistFile,"%InstallSRC%\Windows\System32\en-US\msacm32.dll.mui",FileCopy,"%InstallSRC%\Windows\System32\en-US\msacm32.dll.mui","%TargetDir%\Windows\System32\en-US"
//


Joshua
equate975
QUOTE (andra @ Sep 18 2009, 05:39 PM) *
just a thought ...

do you have cryptsvc running ?


No I do not. Is that for the NLA? Because thats what I was trying to get working now. I got mstsc 6.0 to work, and I am currently trying to make 6.1 work. I read that 6.0 on xp does not support NLA, but 6.1 does. I think I have something mixed up in my inf because I am getting the same path error currently. All these files are so similar I think I have some typos lol.
equate975
QUOTE (Joshua @ Sep 18 2009, 10:48 PM) *
Under win7pe, i copied this files to get it working!


Joshua


I'm using xppe? I noticed I didn't have msacm32.dll in the plugin. I pulled it out of my win7 system32 (along with all the mstsc 6.1 files) and put it in the plugin dir. I'm imaging now so I will see what happens.
equate975
Got it all in, no dice. Basically I just pulled all the files from my win7 system 32 and made the plugin that way. I am now getting the error "mstscax.dll" is not in the path.

Current config:

; mstsc.inf
; PE Builder v3 plug-in INF file for Remote Desktop Client
; Created by Bart Lagerweij

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="Remote Desktop Client 6"
Enable=1

[WinntDirectories]
a="I386\SYSTEM32",2
b="I386\SYSTEM32\en-US",2

[SourceDisksFiles]
mstsc.exe=a,,1
mstsc.exe.mui=b,,1

aaclient.dll=a,,1
aaclient.dll.mui=b,,1

mstscax.dll=a,,1
mstscax.dll.mui=b,,1

msacm32.dll=a,,1
msacm32.dll.mui=b,,1


[Append]
nu2menu.xml, mstsc_nu2menu.xml


Files:

aaclient.dll
aaclient.dll.mui
msacm32.dll
msacm32.dll.mui
mstsc.exe
mstsc.exe.mui
mstscax.dll
mstscax.dll.mui

mstsc6.inf
mstsc6_nu2menu.xml

Now I really don't see what I'm missing.... it ran with mstsc 6.0, obviously just wouldn't connect. Now I can't even make it run.

If I ask for the path in cmd in pe, it says PATH=X:\i386;X:\i386\System32;X:\Bin

So its in the path... I don't know what its complaining about.

equate975
Reverted back to 6.0 so I could actually start mstsc. Enabled the cryptsvc via http://sourceforge.net/projects/winpe/files/Windows%20XPE/ "Sherpya Windows PE Stuff". In command I can net start cryptsvc and it will start.

Now I can connect to the RDP host, but I am getting an error when I try to save my credentials for an autologin. same 0x507 error as before (except this time I can login without trying to save them)

When I look at the "about" for mstsc it says that NLA is not supported. Is this the problem? Or is it a keychain issue?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.