Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic RDP Wrapper installer and updater (autoupdate.bat **bugfix) #860

Closed
asmtron opened this issue Aug 12, 2019 · 28 comments
Closed

Automatic RDP Wrapper installer and updater (autoupdate.bat **bugfix) #860

asmtron opened this issue Aug 12, 2019 · 28 comments

Comments

@asmtron
Copy link

asmtron commented Aug 12, 2019

autoupdate-v07.09.2019.zip

Pull request: #859

The new batch file "autoupdate.bat" check, install and update the RDP Wrapper automatically in the background. For example very useful after a windows update reboot ...

{ Special thak to binarymaster, saurav-biswas and all other contributors }

 -------------------------------------------------------------------

                        autoupdate.bat

 Automatic RDP Wrapper installer and updater // asmtron (07-09-2019)
 -------------------------------------------------------------------
 Options:
   -log        = redirect display output to the file autoupdate.log
   -taskadd    = add autorun of autoupdate.bat on startup in schedule task
   -taskremove = remove autorun of autoupdate.bat on startup in schedule task

 Info: 
   The autoupdater first use and check the official rdpwrap.ini.
   If a new termsrv.dll is not supported in the offical rdpwrap.ini,
   autoupdater first tries the asmtron rdpwrap.ini (disassembled and
   tested by asmtron). The autoupdater will also use rdpwrap.ini files
   of other contributors like the one of "saurav-biswas".
   Extra rdpwrap.ini sources can also be defined...

 { Special thak to binarymaster, saurav-biswas and all other contributors }




 INSTALL of RDP Wrapper and Autoupdater
 ======================================

 1. Copy the files from the archive "RDPWrap-v1.6.2.zip" (or newer) to the "%ProgramFiles%\RDP Wrapper" directory

    DO NOT use other location to install/extract the RDP Wrapper files.
    USE ONLY the "%ProgramFiles%\RDP Wrapper" directory (normally C:\Program Files\RDP Wrapper)


 2. Copy the files/folder from the archive "autoupdate-v07.09.2019.zip" (or newer) to the "%ProgramFiles%\RDP Wrapper" directory


 3. To enable autorun of autoupdate.bat on system startup, run the folling helper batch file as administrator:

    "%ProgramFiles%\RDP Wrapper\helper\autoupdate__enable_autorun_on_startup.bat"


 4. Set in your Antivirus/WindowsDefnder an exclusion on the folder "%ProgramFiles%\RDP Wrapper" to prevent the deletion of RDP Wrapper files


 5. Now you can use the autoupdate batch file to install and update the RDP Wrapper. Please run the folling autoupdate batch file as administrator:

   "%ProgramFiles%\RDP Wrapper\autoupdate.bat"

@asmtron asmtron changed the title new autoupdate.bat - Automatic RDP Wrapper installer and updater Automatic RDP Wrapper installer and updater (autoupdate.bat, very useful) Aug 12, 2019
@asmtron asmtron changed the title Automatic RDP Wrapper installer and updater (autoupdate.bat, very useful) Automatic RDP Wrapper installer and updater (autoupdate.bat) Aug 12, 2019
@junkwes
Copy link

junkwes commented Aug 12, 2019

Thank you but I am getting Listener state: Not listening. Everything else seems supported and fine.

@asmtron asmtron changed the title Automatic RDP Wrapper installer and updater (autoupdate.bat) Automatic RDP Wrapper installer and updater (autoupdate.bat **bugfix) Aug 13, 2019
@asmtron
Copy link
Author

asmtron commented Aug 13, 2019

Important -> autoupdate.bat **bugfix!

  1. bug: normal copy with admin right of the file "rdpwrap_new.ini" to "rdpwrap.ini" will not work properly (file locked)
  2. fix: we need to stream the data line by line from "rdpwrap_new.ini" to "rdpwrap.ini"
  3. add: listener check

With this bugfix autoupdate.bat works now as expected...

@luisBSBDATA
Copy link

Works like a charm! Incredible work, there's a way to propose that tool to be integrated on RDPWrap? That's a game changer, main problem I have since I'm using RDPWrap is Windows Update handling but with this that's no longer a problem. Thanks!

@StarfighterJ
Copy link

StarfighterJ commented Aug 14, 2019

Ok I just got a update today going from 18362.267 to 18362.295 not sure if rdpwrap is effected yet I hope this Autoupdate.bat works.
Looks like terms.dil didn't change in this 295 update no way to know if autoupdate.bat work yet

@PocketSam
Copy link

Awesome! Thanks a lot!

@gitgotgone
Copy link

Woot woot! I got Windows Defender warnings the first time just because it was an unknown app, but after that no problem. Thanks!

@PocketSam
Copy link

PocketSam commented Aug 19, 2019

On Windows 7 Corporate x64 with termsrv 6.1.7601.24402 Remote Desctop often crashes. :(
termsrv.dll

@smyle10
Copy link

smyle10 commented Aug 20, 2019

cool, it solved my no-listener problem on 17134.885

@shippj
Copy link

shippj commented Aug 26, 2019

hey Asmtron, I love the work you have done to create that awesome BAT to update the INI, but why not just modify the source code of RDPWInst.exe in your fork to make the native update function (-w) pull the INI from your fork? Seems like you reinvented the wheel. Also, I couldn't find a place to send you a message via your github page - did you disable comments or something? I have a delphi7 compiler if that would be of any help to you. thanks!

@asmtron
Copy link
Author

asmtron commented Aug 26, 2019

Hi shippj, thanks for your offer. With the batch file we avoid hard coded links in a binary file and the download links are always visible for everyone. It is also very easy for everyone to modify/add new ini download sources. The batch file is an addon for the RDP Wrapper and it does no touch the RDP Wrapper binaries (it's intended).

@s0nic9
Copy link

s0nic9 commented Aug 29, 2019

@asmtron Can you merge Win7+2008R2 last update of @fre4kyC0de
https://github.com/fre4kyC0de/rdpwrap/blob/master/6.1.7601.24402.txt

@ghost
Copy link

ghost commented Aug 29, 2019

@asmtron Have a look at this #872 (comment)

@strarsis

This comment was marked as spam.

@RsRough
Copy link

RsRough commented Sep 28, 2019

I have done the steps listed. Here are my issues:
Service State: Starting... Ver. 10.0.18362.53
Listener: Not Listening [Fully Supported]

I bring up Remote Desktop Services in services.msc and it shows "Starting" and I am unable to Stop, Restart, or Start it.

@vlciho
Copy link

vlciho commented Nov 2, 2019

Awesome!! This recover my install of RDPwrap! Thank you, man! :-)

@RDPGREX2019
Copy link

@vlciho Hello sir, I hope you are well, could you please help me with the solution you applied to solve the problem of the rdpwrap_10.0.18362.267 version

@RDPGREX2019
Copy link

HELPPPPPPPPPPPPPPPP!!!!!!!!!!!!!!!!!!
I couldn't solve this problem

Captura de pantalla (224)
Captura de pantalla (225)
Captura de pantalla (226)

@vlciho
Copy link

vlciho commented Nov 9, 2019 via email

@vlciho
Copy link

vlciho commented Nov 9, 2019

Log here.
autoupdate.log
note1
note2

@actanner
Copy link

Please forgive my github ignorance. How do I get the most recent version of the autoupdate.bat file? Thank you.

@shippj
Copy link

shippj commented Nov 23, 2019

Please forgive my github ignorance. How do I get the most recent version of the autoupdate.bat file? Thank you.

here ya go:
https://github.com/asmtron/rdpwrap/tree/master/bin

@actanner
Copy link

Well, I still have lots to learn about github. I see the autoupdate.bat listing, but I still don't know how to download the .bat file directly so that I can execute it. Thanks in advance, and I hope to learn lots more about github soon.

@actanner
Copy link

Well, I clicked on the "Raw" button and downloaded but wound up with a strange "overdrive" extension. Once I renamed the file, it looks like it would properly execute as a batch file, but it has the 07/09/2019 date in the remarks section, leading me to believe that it is not the most recent, since bugs were fixed on 12 Aug. I think I am getting closer, but....

@csy9730
Copy link

csy9730 commented Feb 2, 2020

windows 10.0.18363 暂缺 Build 18363 & 6.3.9600 win8.1
rdpwrap is ok

@LiamKarlMitchell
Copy link

LiamKarlMitchell commented Mar 22, 2021

Yeah this fixes it.
Also if connecting to local host seemed to have to use 127.0.0.2.

However the Remote Desktop Window Store App does not connect.
Must use mstsc.exe or another Remote Desktop client.

@viafx24
Copy link

viafx24 commented Mar 29, 2021

Yeah, it also fixes the problem for me. I'm using windows 10 home 10.0.19041.789. Adding in C:\Program Files\RDP Wrapper and running the autoupdate.bat allow me to get "everything in green" when launching RDPConf.exe

image

here, one can see how looks the whole folder:

image

To summarize,

  • I downloaded "RDPWrap-v1.6.2.zip" and put the files in C:\Program Files\RDP Wrapper

  • then I downloaded "autoupdate-v07.09.2019.zip", put the content in C:\Program Files\RDP Wrapper

  • then, i run cmd as admininstrator and run "autoupdate.bat"

  • I didn't need to change anything related to antivirus (i'm using avast).

I got "everything in green" but when i launched RDPCheck.exe, I succeed to see the windows connection login page but after putting the password, the connexion was refused. However, when i used another computer to log-in, it Works!!! and thus i can enjoy the remote desktop .

Thanks a lot for developers and hope this comment helps.

Cheers,

@LUCKandII
Copy link

是的,它也为我解决了这个问题。我正在使用Windows 10家庭版10.0.19041.789。添加C:\ Program Files \ RDP包装程序并运行autoupdate.bat,可以在启动RDPConf.exe时获得“绿色的一切”

图像

在这里,可以看到整个文件夹的外观:

图像

总而言之,

  • 我下载了“ RDPWrap-v1.6.2.zip ”,并将文件放在C:\ Program Files \ RDP Wrapper中
  • 然后我下载了“ autoupdate-v07.09.2019.zip ”,将内容放在C:\ Program Files \ RDP Wrapper中
  • 然后,我以管理员身份运行cmd并运行“ autoupdate.bat
  • 我不需要更改与防病毒相关的任何内容(我正在使用avast)。

我得到了“一切都变成绿色”,但是当我启动RDPCheck.exe时,我成功地看到了Windows连接登录页面,但是在输入密码之后,连接被拒绝了。但是,当我使用另一台计算机登录时,它可以正常工作!!!这样我就可以享受远程桌面了。

非常感谢开发人员,希望此评论对您有所帮助。

干杯,

Thanks a lot!!!!!

@sebaxakerhtc
Copy link

Moved to PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests