Sign in to follow this  
Followers 0
BinaryBrother

Portable RDP

13 posts in this topic

#1 ·  Posted (edited)

I've yet to find a good Windows based (up to date) portable version of RDP... So, I pulled all the necessary files from an XP Install and made a little portable client...

Possible Applications:

PE Windows (BartPE)

TinyXP (Does not come installed, and gives issues when attempting to install)

Windows 2000

Linux (Wine) issues...

Any other Windows based machine without RDP installed...

Source:

; Start-up
CreateTempDIRs()
OnAutoItExitRegister("CleanTMP")
;

; File Unpacking
FileInstall("***RDP Thinclientmstscax.dll", @TempDir & "RDP", 1)
FileInstall("***RDP Thinclientmstsc.exe", @TempDir & "RDP", 1)
FileInstall("***RDP Thinclienten-usmstsc.exe.mui", @TempDir & "RDPen-us", 1)
FileInstall("***RDP Thinclienten-usmstscax.dll.mui", @TempDir & "RDPen-us", 1)
;

;User Config ###################################################
$Auto = True ;// If True defined input below is used, else it just opens mstsc (RDP)
$Server = "" ;// IP or hostname
$Port = "" ;// Leave Blank for Default
$FullScreen = True ;// Pretty obvious
; ##############################################################
; I'm messing with a little method now for generating RDP connection files on the fly and using them...
; It's a little messy, but allows you to utilize many more parameters such as username and password...

;Primary Code Base
If $Auto = True Then
    If $Port <> "" Then
        $Switch = $Server & ":" & $Port
    Else
        $Switch = $Server
    EndIf
    If $FullScreen = True Then
        $Switch &= " /f"
    EndIf

    ShellExecuteWait(@TempDir & "RDPmstsc.exe", "/v:" & $Switch)
Else
    ShellExecuteWait(@TempDir & "RDPmstsc.exe")
EndIf
;

; Functions
Func CreateTempDIRs()
    While Not FileExists(@TempDir & "RDP")
        DirCreate(@TempDir & "RDP")
    WEnd
    While Not FileExists(@TempDir & "RDPen-us")
        DirCreate(@TempDir & "RDPen-us")
    WEnd
EndFunc   ;==>CreateTempDIRs

Func CleanTMP()
    DirRemove(@TempDir & "RDP", 1)
EndFunc

Required Files: (Found in most WinXP installs) [*system32, *system32en-us]

mstsc.exe

mstscax.dll

mstsc.exe.mui

mstscax.dll.mui

[Download Zip]

Binary:

http://goo.gl/J6ujX

P.S.:

If your having trouble finding the required files in Windows installs, PM me.

Edited by BinaryBrother
1 person likes this

Share this post


Link to post
Share on other sites

Very nice, one of those "gee, why didn't I think of that..." ideas! Right on.

Ian


My projects:

  • IP Scanner - Multi-threaded ping tool to scan your available networks for used and available IP addresses, shows ping times, resolves IPs in to host names, and allows individual IPs to be pinged.
  • INFSniff - Great technicians tool - a tool which scans DriverPacks archives for INF files and parses out the HWIDs to a database file, and rapidly scans the local machine's HWIDs, searches the database for matches, and installs them.
  • PPK3 (Persistent Process Killer V3) - Another for the techs - suppress running processes that you need to keep away, helpful when fighting spyware/viruses.
  • Sync Tool - Folder sync tool with lots of real time information and several checking methods.
  • USMT Front End - Front End for Microsoft's User State Migration Tool, including all files needed for USMT 3.01 and 4.01, 32 bit and 64 bit versions.
  • Audit Tool - Computer audit tool to gather vital hardware, Windows, and Office information for IT managers and field techs. Capabilities include creating a customized site agent.
  • CSV Viewer - Displays CSV files with automatic column sizing and font selection. Lines can also be copied to the clipboard for data extraction.
  • MyDirStat - Lists number and size of files on a drive or specified path, allows for deletion within the app.
  • 2048 Game - My version of 2048, fun tile game.
  • Juice Lab - Ecigarette liquid making calculator.
  • Data Protector - Secure notes to save sensitive information.
  • VHD Footer - Add a footer to a forensic hard drive image to allow it to be mounted or used as a virtual machine hard drive.
  • Find in File - Searches files containing a specified phrase.

Share this post


Link to post
Share on other sites

Hate to be a downer, but is it ok to distribute those files?

Aside from that, great job. I use RDP for various things, and this will come in handy. Thanks :mellow:

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

I looked all over for the TOS and read MS's website over and couldn't find anything about not being able to redistribute these files. Actually... I've seen a few programs that redist the RDP files for various clients that use the RDP ActiveX DLL's or COM interfaces.

But to be safe I'll not link them here.

Now you have me wondering if the Binary is ok... >.>

Edited by BinaryBrother

Share this post


Link to post
Share on other sites

An excellent idea, It's a good little utility. Considering it's portable nature it's really amazing it works on files already present in any XP install.

Thank you,

Adam

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

@AdamSteele

Stop (upping your post count by) reacting to old topic's.

(yea, I mean those other one's)

Edited by iEvKI3gv9Wrkd41u

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites

The link to the binary do not seem to be working.


Just a server analyst that has never been into programming that much. So, small fish here :)

Share this post


Link to post
Share on other sites

For those of us who are 16, young, and (we are told) stupid, what is an RDP?


ongoing projects:-firestorm: Largescale P2P Social NetworkCompleted Autoit Programs/Scripts: Variable Pickler | Networked Streaming Audio (in pure autoIT) | firenet p2p web messenger | Proxy Checker | Dynamic Execute() Code Generator | P2P UDF | Graph Theory Proof of Concept - Breadth First search

Share this post


Link to post
Share on other sites

For those of us who are 16, young, and (we are told) stupid, what is an RDP?

Even thought this topic appears to be a year old..

RDP is Remote Desktop Protocol. Its just the MS remote desktop app that comes with XP and higher.


Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end.

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

Links updated. CNET [Download.com] has many different clients that redist those files, so if I have to slap the usual EULA-TOS on the download, I will.

@AdamSteele

Stop (upping your post count by) reacting to old topic's.

(yea, I mean those other one's)

iEvKI3gv9Wrkd41u, you do realize that you replied almost a year after AdamSteele replied... Right? Edited by BinaryBrother
1 person likes this

Share this post


Link to post
Share on other sites

Nope. (Or else I would not have posted that message.)

Rechecking ... Retracting (striking) that message.


"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0