Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows 7 Remote Desktop Keeps Reappearing

02 May 2013   #11
jackbn

Windows 7 Professional 64bit
 
 

Kari's post led me to the answer.

I use XP Mode to run my 1991 DOS genealogy program (a specialized database).

I have never updated my genealogy software (have tried several windows genealogy programs).
Some of the windows programs can migrate my data, but the results are far from adequate,
so another 5000 (FIVE THOUSAND) hours would be necessary to clean it up.
I have many tens of thousands of people in this database, along with lots of stats and also text files associated with many of them.

ANYWAY, I had never noticed before the correlation between using XP Mode and Remote Desktop appearing in in the CCleaner list.
Perhaps it's been in the CCleaner list for quite a while, but I noticed it only recently.

SEVERAL times now, I have tried the following:
1) Run CCleaner
2) Open XP Mode
3) Run CCleaner with XP Mode running -- NO Remote Desktop on CCleaner list.
4) Close XP Mode
5) Run CCleaner -- There's Remote Desktop, always

Hence, I believe that I had no problem with intruders, just with understanding.

Thanks for the help, guys.




My System SpecsSystem Spec
.
02 May 2013   #12
Kari

Microsoft Community Contributor Award Recipient

 

Reading this thread I started to think it might be this simple. Good to know you have no intruders .

This from Wikipedia:
Quote:
Windows XP Mode (XPM) is a virtual machine package for Windows Virtual PC containing a pre-installed, licensed copy of Windows XP Professional with Service Pack 3 as its guest OS. Previously, both the CPU and motherboard of the host had to support hardware virtualization, but an update in early 2010 eliminated this requirement. Pre-installed integration components allow applications running within the virtualized environment to appear as if running directly on the host, sharing the native desktop and Start Menu of Windows 7 as well as participating in file type associations. Windows XP Mode applications run in a Terminal Services session in the virtualized Windows XP, and are accessed via Remote Desktop Protocol by a client running on the Windows 7 host.

Applications running in Windows XP Mode do not have compatibility issues, as they are actually running inside a Windows XP virtual machine and redirected using RDP to the Windows 7 host. Windows XP Mode may be used to run 16-bit applications; it includes NTVDM although it might be impossible to run 16-bit applications that require hardware acceleration, as Windows Virtual PC does not have hardware acceleration.
Kari
My System SpecsSystem Spec
02 May 2013   #13
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by jackbn View Post
And here is one of the Remote Desktop settings.
I had set it to disabled hours ago, but this is how it looks now, just after running the CCleaner I posted.

The other three items I have been setting are immediatelly above the window. The window is for the middle one. The other two remain disabled, but Remote Desktop just ran minutes ago anyway.
So, it looks like W7's XP Mode app is changing that disabled service. You could test that and let us know.

Also, I'm curious to know what you see in the Event logs. Does it show you the XP computer name like a normal RDC connection?

@Kari,
Thanks for posting the solution. It is always fun to learn something. Your rep has been added to :-)
My System SpecsSystem Spec
.

02 May 2013   #14
Kari

Microsoft Community Contributor Award Recipient

 

I noticed the rep, could not thank you as I usually do for you have visitor messages turned off .

This is important to understand if you want to run XP Mode or any other Windows Virtual PC vm in Windows 7. In Windows 8 and its Hyper-V virtualization it is important because the Hyper-V vm connection app is so basic that to really utilize your vm you need to connect to vm using remote desktop instead of the built-in solution.

Kari
My System SpecsSystem Spec
02 May 2013   #15
Ztruker

Windows 10 Pro X64
 
 

Doesn't work for me. Still leaves me at the login screen asking for the password.
My System SpecsSystem Spec
02 May 2013   #16
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by Ztruker View Post
Doesn't work for me. Still leaves me at the login screen asking for the password.
What does not work for you?
My System SpecsSystem Spec
02 May 2013   #17
Ztruker

Windows 10 Pro X64
 
 

Sorry, that was a response to this post: Windows 7 Remote Desktop Keeps Reappearing

Maybe I should have quoted it.
My System SpecsSystem Spec
03 May 2013   #18
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by Ztruker View Post
Sorry, that was a response to this post: Windows 7 Remote Desktop Keeps Reappearing

Maybe I should have quoted it.
I made a bigger (hopefully better) video for this post:
Windows 7 Remote Desktop Keeps Reappearing
Try watching it at 720p and full screened.

If you still cannot get it to work, then please...
...RDC to the computer of interest
...open task manager on the remote computer
...add the Session ID column to task manager on the remote computer
...take note of the session number

...place the batch file on the desktop of the remote computer
(tscon.exe 1 /dest:console)
...open that batch file in notepad
...replace the 1 with the session number noted above

...add pause as the last line of the batch file
(so that you can see any errors)
...save the batch file.

Before you run that batch file on the remote computer, please grab a screenshot that shows the batch file in notepad and task manager that shows the Session ID column.

Run the the batch file as admin.

The end result should be that you are disconnected from the remote computer and the remote computer is left logged on (not locked). The user that is logged on to the remote computer will be the one that you used during the RDC session.

If you are not seeing the expected results, then we might need to see what version of RDP you have on both boxes.
My System SpecsSystem Spec
03 May 2013   #19
Ztruker

Windows 10 Pro X64
 
 

I'm on Windows 8 Pro X64 system with all updates using RDT to a Windows 7 Pro X64 system at SP1 + all updates. It doesn't work.

I connect from Win 8 to the Win 7 system via RDT.

This is Task Manager on WIn 8
Windows 7 Remote Desktop Keeps Reappearing-rdtonwin8.jpg

This is a elevated cmd prompt
Windows 7 Remote Desktop Keeps Reappearing-admincmdonwin8.jpg

This is a batch file Run as Administrator
Windows 7 Remote Desktop Keeps Reappearing-adminbatonwin8.jpg

Also, query user returns:
Code:
 USERNAME              SESSIONNAME        ID  STATE   IDLE TIME  LOGON TIME
>rrkurtz               console             1  Active      none   5/3/2013 3:43 PM
so session id 1 is correct.


My System SpecsSystem Spec
04 May 2013   #20
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by UsernameIssues View Post
~~~
If you still cannot get it to work, then please...
...RDC to the computer of interest
...open task manager on the remote computer
~~~
Quote   Quote: Originally Posted by Ztruker View Post
I connect from Win 8 to the Win 7 system via RDT.

This is Task Manager on WIn 8
~~~
You should be getting the session ID via task manager on the remote system; in your case, the W7 box.

You should be running the batch file on the remote system.

Error code 7045 is what you would get if you ran the batch file on the local Win 8 computer.
My System SpecsSystem Spec
Reply

 Windows 7 Remote Desktop Keeps Reappearing




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Deleted folder keeps reappearing on desktop
Hi, I have a folder on my desktop which I used as a temporary location for pictures and videos. Once it was empty I deleted it but every time I open my internet browser it pops up again. I am using Mozilla Firefox and have checked the download settings but this folder is not named in any path that...
General Discussion
Deleted Desktop Folder Keeps Reappearing
I have a folder on my PC's Desktop that will not stay deleted. It reappears after rebooting, shutting down and restarting and some times it seems to spontaneously reappear without a restart. I have loaded it with things to be deleted, then deleted it only to have it reappear again, but empty. I...
General Discussion
Remote features not working -remote desktop, WMC, iTunes remote, etc.
OS: Win8 64bit (My desktop is Win8, my laptop is Win7. We're dealing with the desktop here.) Where I am: university network, but these features seem to be working with my laptop. Things I've checked: allowing services through Windows Firewall (Bonjour, WMC services, etc.) Allowing remote...
Network & Sharing
Infection Of Windows Through Remote Access/Remote Desktop
This morning, I heard a nationally syndicated computer expert state that some Chinese hackers were "getting into" Windows based computers through "Remote Access/Remote Desktop" even if the service is turned off. According to the guru, "They will turn it on for you." Being very concrete, as well...
System Security
Desktop computer disappearing and reappearing on network (from Laptop)
Hello, I have trawled the forums and have googled and can't seem to find anything that seems to be able to resolve the situtation. I have a windows7 home laptop and a Windows XP desktop. There are connected through a wireless modem. For ages the laptop could find the desktop no worries,...
Network & Sharing
Reappearing folder on desktop at startup
hello, as stated above i have a folder which keeps reappearing every time i start my computer, it's an empty folder and no other program is using it. tried removing it in safe mode and from the registry, but no results. can someone help me? thank you in advance!
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:49.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App