Welcome to WinForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Can I stop Remote Desktop from locking host?

 
   Windows XP (Home) -> Work Remotely RSS
Next:  cannot find the local profile  
Author Message
SonicForce

External


Since: Sep 21, 2007
Posts: 4



(Msg. 1) Posted: Fri Sep 21, 2007 1:10 pm
Post subject: Can I stop Remote Desktop from locking host?
Archived from groups: microsoft>public>windowsxp>work_remotely (more info?)

Is there any way that I can stop Remote Desktop from locking the host
machine, or perhaps get it to automatically unlock the host after the remote
access?

I'm trying to run automated regression tests (using HP's "QuickTest
Professional") on the host machine, but people around the world need to be
able to remote into the machine and then just close the Remote Desktop window
when they're done. If they do this, the host has the locked message up on
the screen and GUI tests then fail because the windows aren't able to show on
the screen.

One solution to this is using VNC, but there are security flaws that make
this an unwise choice (according to our Info Security dept).

Another solution is to use "PC Anywhere", but this (according to Symantec)
doesn't work with virtual machines, which is something we're moving towards.

Another solution is to use WebEx's "Access Anywhere", but for the way that
we want to use our connections, this could be an expensive solution.

Another solution is to use a ShareWare product I've found called "Remote
Desktop Control", but I don't know how keen our company would be to use
'unknown shareware'.

Another solution is to use NetMeeting, but it's clunky and requires a
username, password and domain name to be typed each time you connect.

One thought I had was to write something in VBScript that unlocks the host,
since I know what the username and password is, of course, but I can't work
out how to do that, even after a day of researching the web.

So..... any ideas anyone please?!

Thanks,
Graham

 >> Stay informed about: Can I stop Remote Desktop from locking host? 
Back to top
Login to vote
Nepatsfan

External


Since: Mar 12, 2005
Posts: 883



(Msg. 2) Posted: Fri Sep 21, 2007 5:56 pm
Post subject: Re: Can I stop Remote Desktop from locking host? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In news:FE640A3E-2209-45ED-8A48-8961CD5FF2F5@microsoft.com,
SonicForce wrote:
> Is there any way that I can stop Remote Desktop from locking
> the host
> machine, or perhaps get it to automatically unlock the host
> after the remote
> access?
>
> I'm trying to run automated regression tests (using HP's
> "QuickTest
> Professional") on the host machine, but people around the
> world need to be
> able to remote into the machine and then just close the
> Remote Desktop window
> when they're done. If they do this, the host has the locked
> message up on
> the screen and GUI tests then fail because the windows aren't
> able to show on
> the screen.
>
> One solution to this is using VNC, but there are security
> flaws that make
> this an unwise choice (according to our Info Security dept).
>
> Another solution is to use "PC Anywhere", but this (according
> to Symantec)
> doesn't work with virtual machines, which is something we're
> moving towards.
>
> Another solution is to use WebEx's "Access Anywhere", but for
> the way that
> we want to use our connections, this could be an expensive
> solution.
>
> Another solution is to use a ShareWare product I've found
> called "Remote
> Desktop Control", but I don't know how keen our company would
> be to use
> 'unknown shareware'.
>
> Another solution is to use NetMeeting, but it's clunky and
> requires a
> username, password and domain name to be typed each time you
> connect.
>
> One thought I had was to write something in VBScript that
> unlocks the host,
> since I know what the username and password is, of course,
> but I can't work
> out how to do that, even after a day of researching the web.
>
> So..... any ideas anyone please?!
>
> Thanks,
> Graham

I don't know how you can work this into your situation, but
I'll pass it along. The following command can be run on the
remote computer and it will leave the system unlocked with the
account that was used during the remote session logged on.

tscon.exe 0 /dest:console

I connect remotely to my XP Pro system using the credentials of
the main account on that machine. I created a batch file that
runs that command and placed it in the C:\Windows folder of the
remote computer. The batch file is named Disconnect.bat. I then
put a shortcut to the batch file in the All Users\Desktop
folder. I also changed the shortcut's icon to match the one for
"Turn Off Computer" on the Start menu.

Instead of closing the remote desktop connection on my local
computer, I double click the shortcut on the remote computer to
end the session.

Good luck

Nepatsfan

 >> Stay informed about: Can I stop Remote Desktop from locking host? 
Back to top
Login to vote
SonicForce

External


Since: Sep 21, 2007
Posts: 4



(Msg. 3) Posted: Fri Sep 21, 2007 5:56 pm
Post subject: Re: Can I stop Remote Desktop from locking host? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sir (or Madam?!)... you are a GENIOUS!

Thanks, that works perfectly.

All the best,
Graham

--------

"Nepatsfan" wrote:

> In news:FE640A3E-2209-45ED-8A48-8961CD5FF2F5@microsoft.com,
> SonicForce wrote:
> > Is there any way that I can stop Remote Desktop from locking
> > the host
> > machine, or perhaps get it to automatically unlock the host
> > after the remote
> > access?
> >
> > I'm trying to run automated regression tests (using HP's
> > "QuickTest
> > Professional") on the host machine, but people around the
> > world need to be
> > able to remote into the machine and then just close the
> > Remote Desktop window
> > when they're done. If they do this, the host has the locked
> > message up on
> > the screen and GUI tests then fail because the windows aren't
> > able to show on
> > the screen.
> >
> > One solution to this is using VNC, but there are security
> > flaws that make
> > this an unwise choice (according to our Info Security dept).
> >
> > Another solution is to use "PC Anywhere", but this (according
> > to Symantec)
> > doesn't work with virtual machines, which is something we're
> > moving towards.
> >
> > Another solution is to use WebEx's "Access Anywhere", but for
> > the way that
> > we want to use our connections, this could be an expensive
> > solution.
> >
> > Another solution is to use a ShareWare product I've found
> > called "Remote
> > Desktop Control", but I don't know how keen our company would
> > be to use
> > 'unknown shareware'.
> >
> > Another solution is to use NetMeeting, but it's clunky and
> > requires a
> > username, password and domain name to be typed each time you
> > connect.
> >
> > One thought I had was to write something in VBScript that
> > unlocks the host,
> > since I know what the username and password is, of course,
> > but I can't work
> > out how to do that, even after a day of researching the web.
> >
> > So..... any ideas anyone please?!
> >
> > Thanks,
> > Graham
>
> I don't know how you can work this into your situation, but
> I'll pass it along. The following command can be run on the
> remote computer and it will leave the system unlocked with the
> account that was used during the remote session logged on.
>
> tscon.exe 0 /dest:console
>
> I connect remotely to my XP Pro system using the credentials of
> the main account on that machine. I created a batch file that
> runs that command and placed it in the C:\Windows folder of the
> remote computer. The batch file is named Disconnect.bat. I then
> put a shortcut to the batch file in the All Users\Desktop
> folder. I also changed the shortcut's icon to match the one for
> "Turn Off Computer" on the Start menu.
>
> Instead of closing the remote desktop connection on my local
> computer, I double click the shortcut on the remote computer to
> end the session.
>
> Good luck
>
> Nepatsfan
>
>
>
>
 >> Stay informed about: Can I stop Remote Desktop from locking host? 
Back to top
Login to vote
Nepatsfan

External


Since: Mar 12, 2005
Posts: 883



(Msg. 4) Posted: Fri Sep 21, 2007 6:49 pm
Post subject: Re: Can I stop Remote Desktop from locking host? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I'm a sir, but can't claim to be a "GENIOUS"! I first learned
of that command on this very newsgroup. Glad to hear it worked
for you.

Nepatsfan

In news:CA09F4C6-E5FF-4798-B440-77CBF27DE4FA@microsoft.com,
SonicForce wrote:
> Sir (or Madam?!)... you are a GENIOUS!
>
> Thanks, that works perfectly.
>
> All the best,
> Graham
>
> --------
>
> "Nepatsfan" wrote:
>
>> In news:FE640A3E-2209-45ED-8A48-8961CD5FF2F5@microsoft.com,
>> SonicForce wrote:
>>> Is there any way that I can stop Remote Desktop from
>>> locking
>>> the host
>>> machine, or perhaps get it to automatically unlock the host
>>> after the remote
>>> access?
>>>
>>> I'm trying to run automated regression tests (using HP's
>>> "QuickTest
>>> Professional") on the host machine, but people around the
>>> world need to be
>>> able to remote into the machine and then just close the
>>> Remote Desktop window
>>> when they're done. If they do this, the host has the
>>> locked
>>> message up on
>>> the screen and GUI tests then fail because the windows
>>> aren't
>>> able to show on
>>> the screen.
>>>
>>> One solution to this is using VNC, but there are security
>>> flaws that make
>>> this an unwise choice (according to our Info Security
>>> dept).
>>>
>>> Another solution is to use "PC Anywhere", but this
>>> (according
>>> to Symantec)
>>> doesn't work with virtual machines, which is something
>>> we're
>>> moving towards.
>>>
>>> Another solution is to use WebEx's "Access Anywhere", but
>>> for
>>> the way that
>>> we want to use our connections, this could be an expensive
>>> solution.
>>>
>>> Another solution is to use a ShareWare product I've found
>>> called "Remote
>>> Desktop Control", but I don't know how keen our company
>>> would
>>> be to use
>>> 'unknown shareware'.
>>>
>>> Another solution is to use NetMeeting, but it's clunky and
>>> requires a
>>> username, password and domain name to be typed each time
>>> you
>>> connect.
>>>
>>> One thought I had was to write something in VBScript that
>>> unlocks the host,
>>> since I know what the username and password is, of course,
>>> but I can't work
>>> out how to do that, even after a day of researching the
>>> web.
>>>
>>> So..... any ideas anyone please?!
>>>
>>> Thanks,
>>> Graham
>>
>> I don't know how you can work this into your situation, but
>> I'll pass it along. The following command can be run on the
>> remote computer and it will leave the system unlocked with
>> the
>> account that was used during the remote session logged on.
>>
>> tscon.exe 0 /dest:console
>>
>> I connect remotely to my XP Pro system using the credentials
>> of
>> the main account on that machine. I created a batch file
>> that
>> runs that command and placed it in the C:\Windows folder of
>> the
>> remote computer. The batch file is named Disconnect.bat. I
>> then
>> put a shortcut to the batch file in the All Users\Desktop
>> folder. I also changed the shortcut's icon to match the one
>> for
>> "Turn Off Computer" on the Start menu.
>>
>> Instead of closing the remote desktop connection on my local
>> computer, I double click the shortcut on the remote computer
>> to
>> end the session.
>>
>> Good luck
>>
>> Nepatsfan
 >> Stay informed about: Can I stop Remote Desktop from locking host? 
Back to top
Login to vote
Graham England

External


Since: Feb 12, 2010
Posts: 1



(Msg. 5) Posted: Fri Feb 12, 2010 5:21 pm
Post subject: All going well... until Server 2003! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Imagine this... reopening the conversation after all this time! LOL!
The "TSCON.exe 0 \dest:console" solution has served me well for a long time, but now I have to use virtual machines in Atlanta that have to have Server 2003 on them (instead of XP Pro). When I tried this approach to disconnect I found that an error is returned...
***
Could not connect sessionID 0 to sessionname console, Error code 7045
Error [7045]:The requested session access is denied.
***
I've spent the past three weeks (on and off) trying to find any kind of solution to this. I've discovered some related DOS/Windows commands QWINSTA, RWINSTA, TSDISCON), but none of these have given me any insight into what's wrong.
Help me... anyone... please!!!



Nepatsfan wrote:

I'm a sir, but can't claim to be a "GENIOUS"!
21-Sep-07

I am a sir, but cannot claim to be a "GENIOUS"! I first learned
of that command on this very newsgroup. Glad to hear it worked
for you.

Nepatsfan

Previous Posts In This Thread:

On Friday, September 21, 2007 4:10 PM
SonicForc wrote:

Can I stop Remote Desktop from locking host?
Is there any way that I can stop Remote Desktop from locking the host
machine, or perhaps get it to automatically unlock the host after the remote
access?

I'm trying to run automated regression tests (using HP's "QuickTest
Professional") on the host machine, but people around the world need to be
able to remote into the machine and then just close the Remote Desktop window
when they're done. If they do this, the host has the locked message up on
the screen and GUI tests then fail because the windows aren't able to show on
the screen.

One solution to this is using VNC, but there are security flaws that make
this an unwise choice (according to our Info Security dept).

Another solution is to use "PC Anywhere", but this (according to Symantec)
doesn't work with virtual machines, which is something we're moving towards.

Another solution is to use WebEx's "Access Anywhere", but for the way that
we want to use our connections, this could be an expensive solution.

Another solution is to use a ShareWare product I've found called "Remote
Desktop Control", but I don't know how keen our company would be to use
'unknown shareware'.

Another solution is to use NetMeeting, but it's clunky and requires a
username, password and domain name to be typed each time you connect.

One thought I had was to write something in VBScript that unlocks the host,
since I know what the username and password is, of course, but I can't work
out how to do that, even after a day of researching the web.

So..... any ideas anyone please?!

Thanks,
Graham

On Friday, September 21, 2007 5:56 PM
Nepatsfan wrote:

Re: Can I stop Remote Desktop from locking host?
In news:FE640A3E-2209-45ED-8A48-8961CD5FF2F5@microsoft.com,
SonicForce wrote:

I don't know how you can work this into your situation, but
I'll pass it along. The following command can be run on the
remote computer and it will leave the system unlocked with the
account that was used during the remote session logged on.

tscon.exe 0 /dest:console

I connect remotely to my XP Pro system using the credentials of
the main account on that machine. I created a batch file that
runs that command and placed it in the C:\Windows folder of the
remote computer. The batch file is named Disconnect.bat. I then
put a shortcut to the batch file in the All Users\Desktop
folder. I also changed the shortcut's icon to match the one for
"Turn Off Computer" on the Start menu.

Instead of closing the remote desktop connection on my local
computer, I double click the shortcut on the remote computer to
end the session.

Good luck

Nepatsfan

On Friday, September 21, 2007 6:40 PM
SonicForc wrote:

Sir (or Madam?
Sir (or Madam?!)... you are a GENIOUS!

Thanks, that works perfectly.

All the best,
Graham

--------

"Nepatsfan" wrote:

On Friday, September 21, 2007 6:49 PM
Nepatsfan wrote:

I'm a sir, but can't claim to be a "GENIOUS"!
I am a sir, but cannot claim to be a "GENIOUS"! I first learned
of that command on this very newsgroup. Glad to hear it worked
for you.

Nepatsfan


Submitted via EggHeadCafe - Software Developer Portal of Choice
Free Commercial Icons and Graphics
http://www.eggheadcafe.com/tutorials/aspnet/97aabdf5-9a17-468b-9c33-83...3afad82
 >> Stay informed about: Can I stop Remote Desktop from locking host? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Desktop Remote Host on XP Home? - Do I have to upgrade the host OS from XP Home to XP Pro, or is there any way of making that XP Home system a Remote Desktop host? Thank you.

Setting up host cpu for Remote desktop - I tried setting up a host cpu for remote desktop. I opened my ports and it wont work from an outside connection. I can be in the host computer and it will bring up the log-in page but then says I cant log in from the host computer. I use cable for..

starting Remote Desktop Connection restart the host computer - Hello everyone :: I suffer the next error, I have a stationary computer at the job and the laptop. Sometimes I connect from the laptop to my stationary pc to make some especial work (like working with SQL server or others) the matter is that I..

Why does Media Player stop when exiting Remote Desktop - I have to control my media PC remotely via either VNC or RD. I prefer the latter, but if I'm queuing up music and set it to play, it stops when I exit RD. VNC does not have this problem. Anybody know a way to have it just keep playing? Thanks, Jim

remote file locking VPN alternative - I have various architectual clients that are setting up remote workers that need to access cad files on the main server. the problem with autocad is that opening one file can reference another 10 making it up to 10mb of traffic to open one file and..
   Windows XP (Home) -> Work Remotely All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
  Windows XP
 Windows Vista!
 Win 2000/NT/98/ME


[ Contact us | Terms of Service/Privacy Policy ]