Giter Site home page Giter Site logo

termsrvpatcher's People

Contributors

fabianosrc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

termsrvpatcher's Issues

Pattern missing I am on latest version of Windows 11 23H2

image
This is my windows version

I Tried https://woshub.com/how-to-allow-multiple-rdp-sessions-in-windows-10/ this guide and coudnt find text to find to be replaced by as my windows version is new


even in this https://github.com/sebaxakerhtc/rdpwrap.ini?tab=readme-ov-file
image

The version I am windows isnt their


I tried everything can you update the script to get updated pattern

When i runu the script it says pattern not found.
Thanks wating for update.

file patched - no differences from original

Hi,
I'm trying to patch a Windows 7 Pro SP1 x64 machine, but "fc" says that there are no diffrences.
I noticed that the output of Get-FullOSBuildNumber for my machine is 7601.24546 which
differs from the build number you put in the script, maybe that's the problem?
Thanks

Copy-Item fails termsrv.dll file in use

although TermService stopped (and dependant UmRdpService toot) for some reason the termsrv.dll file keeps being loked for a while (about 2 minutes) and Copy-Item fails.
thus need to do some retry. replace lines:
Copy-Item -Path $termsrvPatched -Destination $termsrvDllFile -Force
with:
Stop-Service -Name TermService -Force for($i=1; $i -le 100; $i++) { Write-Host Replacement retry: $i of 100 Start-Sleep -Milliseconds 2000 $error.Clear() Copy-Item -Path $termsrvPatched -Destination $termsrvDllFile -Force if($error.Count -eq 0) { $i=100 Write-Host 'Replacement successfull!' -ForegroundColor Green } }

Grant full control on the termsrv.dll file

Currently logged in user could be different from the current console user (I am using a rmm terminal logged in as a system user, not the desktop logged user)
I suggest to modify:
$currentUserName = (Get-WmiObject -Class Win32_ComputerSystem).UserName
into
$currentUserName = whoami

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.