Kroko Just another WordPress weblog

January 17, 2009

Multiple Remote Desktop Connections (RDC) XP not working

Filed under: fuck windows — admin @ 6:55 am

Download link: http://ice-club.com.ua/antiwpa/Other/TermSrvNoRestrPatch-1-3/

 

now the story:

 

If you have tweaked around with Windows XP you probably know that its possible to connect to another system across a network, intranet / internet as a remote user with the same interface as sitting on the system.

The capability is bundled with XP pro and I’m sure that you will find enough and more blogs / tutorial about how it works with screenshots and all. The issue is that its not available in XP Home and in XP Pro it allows only one user to work on the computer.

Based on my searches I believe its also possible to hack XP Home to support RDC, though I haven’t tried it myself the following link does have all the details that you could possibly need to try this out.

http://www.geekport.com/2007/08/15/enabling-remote-desktop-in-xp-home/

http://www.mydigitallife.info/2008/06/14/install-and-enable-remote-desktop-in-windows-xp-home-edition/

Now to the problem in XP pro , as mentioned earlier , the licencing agreement of MS allows only one user to access the computer so if you RDC to a computer the existing user gets logged out (not desirable). There is a way of overcoming this issue with some registry changes and a changed Terminal Service Dynamic Link Library (termserv.dll).

There are detailed article on the procedure available below

http://sig9.com/articles/concurrent-remote-desktop

http://www.mydigitallife.info/2008/06/13/enable-multiple-concurrent-remote-desktop-connections-or-sessions-in-windows-xp/

Additional some good soul has also written a program that neatly makes all these changes and also patches the termserv.dll the link for that is

http://www.kood.org/terminal-server-patch/

For most of the people in the world doing all this worked just fine and if you have tried and are successful good for you …. but then again there are those who are not so fortunate in life such as me who after trying out each and everything on all the links that I have posted including the application got nothing to work. The main user still got logged out each time I tried to RDC to the system.

After more googling I came across this obscure little package called
TermSrvNoRestrPatch-1-3

The location of the file is as following

http://ice-club.com.ua/antiwpa/Other/TermSrvNoRestrPatch-1-3/

which was also a real pain to find a valid link for it. It worked like a charm, it step by step patched all the file which the other application also did but this one got it to work ! It also patched the capability to RDC to a local host, yes there are a few reason why someone would want to do something like this 🙂 such as running multiple instances of a single program.

A word of caution, since the code edits few of the windows’ files, some antivirus programs through it up as a virus. You may need to run this in safemode if your antivirus prevents its from executing and more importantly if your convinced that it isn’t a virus.

Hope this has helped all the hapless people out there trying to get this to work. As always do drop me a comment if you found this useful, click an ad if your feeling generous !

hide console window run by task scheduler

Filed under: fuck windows — admin @ 6:54 am

JW> Hi, I am using Win2000 scheduler to run a .CMD ( batch ) file every
JW> minute. The console window is pop up everytime when the batch file is
JW> launched. Is is possible to tell scheduler hide the console window some
JW> how?

This WSH/VBScript will run your batch file in a hidden window.

‘MyCmd.vbs
Set WshShell = WScript.CreateObject(“WScript.Shell”)
cmd = “C:\bin\scripts\MyCmd.cmd”
Return = WshShell.Run(cmd, 0, True)
set WshShell = Nothing

December 16, 2007

Max Num. of Open Windows under XP/2003/VISTA – Resolved !

Filed under: fuck windows — admin @ 5:05 am

Daca o sa va instalati Internet Explorer 7, si deschideti multe ferestre ca mine (20 minim) pt mai mult de o zi s-ar putea sa aveti surpriza ca sa nu mai puteti deschide ferestre noi, nu merge click dreapta la mouse, meniurile apar asa sterse. Daca veti inchide o fereteastra veti vedea ca totul revine la normal .. pentru 2-5 minute..

M-am enervat, am cautat pe google si am dat peste urmatorul link:

http://weblogs.asp.net/israelio/archive/2007/02/07/max-num-of-open-windows-under-xp-2003-vista-resolved.aspx

Explica ei acolo cauzele, pentru cine nu intereseaza am sa postez direct fix-ul asa cum il folosesc eu.

FIX:

To tweak the limit, take a look in the registry at :

HLKM/System/CurrentControlSet/Control/Session Manager/SubSystems

Within that key is a subkey called Windows, which contains in it, among other things, the value “SharedSection=1024,3072
Changing the SharedSection entry to “1024,20480,512” (note the comma and the value)increases the size of the “hidden” desktop heap.

« Newer Posts

Powered by WordPress