Jump to content

Unattended Reboot -> Relogin. Is it possible?


Recommended Posts

Guest Travis
Posted

I have several web servers (both win2k and 2k3) that run a *desktop app*

that’s both old and unstable and is used for networking a legacy app on many

client machines. This app runs as a desktop application and cannot be run as

a Windows service(for various unimportant reasons). It cannot be replaced or

upgraded for a more stable version. This app crashes from time to time and

when it does it’s normally between 2 and 3 am :). I have built a monitor for

it so I know when it crashes. However, to get it working again I have to

manually log into the offending server, reboot and relogin so that I can run

it on the desktop. I cannot simply restart the app without rebooting because

it will lock out the ports it was originally using and when the 2nd version

tries to start, it will find those ports still locked.

 

Can I automate this?

 

I can cause the monitor to reboot the server but I’ve not found a way for it

to relogin to the desktop. I can have the app run first thing on login so

that’s not an issue. It’s the login into the administrator account that’s

giving me trouble. Any help?

 

Thanks

Travis

  • Replies 4
  • Created
  • Last Reply
Guest Soo Kuan Teo [MSFT]
Posted

Re: Unattended Reboot -> Relogin. Is it possible?

 

Have you tried the following?

http://www.microsoft.com/technet/sysinternals/Security/Autologon.mspx

 

Thanks

Soo Kuan

 

 

--

This posting is provided "AS IS" with no warranties, and confers no rights.

 

"Travis" <Travis@discussions.microsoft.com> wrote in message

news:1C4AA586-E80A-45DB-95B4-43CA2E80E7C1@microsoft.com...

>I have several web servers (both win2k and 2k3) that run a *desktop app*

> that’s both old and unstable and is used for networking a legacy app on

> many

> client machines. This app runs as a desktop application and cannot be run

> as

> a Windows service(for various unimportant reasons). It cannot be replaced

> or

> upgraded for a more stable version. This app crashes from time to time and

> when it does it’s normally between 2 and 3 am :). I have built a monitor

> for

> it so I know when it crashes. However, to get it working again I have to

> manually log into the offending server, reboot and relogin so that I can

> run

> it on the desktop. I cannot simply restart the app without rebooting

> because

> it will lock out the ports it was originally using and when the 2nd

> version

> tries to start, it will find those ports still locked.

>

> Can I automate this?

>

> I can cause the monitor to reboot the server but I’ve not found a way for

> it

> to relogin to the desktop. I can have the app run first thing on login so

> that’s not an issue. It’s the login into the administrator account that’s

> giving me trouble. Any help?

>

> Thanks

> Travis

>

Guest Travis
Posted

Re: Unattended Reboot -> Relogin. Is it possible?

 

This util does something I've already tried and will not allow me to do what

I need.

 

I do not have physical access to the servers and need to use TS to access

them.

 

Autologin will open up ,it seems, 2 desktops using the same

user(administrator) and if I tell the desktop that 'autologins' to open the

app, I have no access to it via TS because I'm on the other desktop. I need

to have desktop access to the app in question in order for me to do things

like add users, etc.

 

What I need is TS to log in immediatly on reboot, allow the app to open and

then log off again so that I can log in later via TS.

 

Is this possible?

thanks

Travis

 

 

 

 

 

"Soo Kuan Teo [MSFT]" wrote:

> Have you tried the following?

> http://www.microsoft.com/technet/sysinternals/Security/Autologon.mspx

>

> Thanks

> Soo Kuan

>

>

> --

> This posting is provided "AS IS" with no warranties, and confers no rights.

>

> "Travis" <Travis@discussions.microsoft.com> wrote in message

> news:1C4AA586-E80A-45DB-95B4-43CA2E80E7C1@microsoft.com...

> >I have several web servers (both win2k and 2k3) that run a *desktop app*

> > that’s both old and unstable and is used for networking a legacy app on

> > many

> > client machines. This app runs as a desktop application and cannot be run

> > as

> > a Windows service(for various unimportant reasons). It cannot be replaced

> > or

> > upgraded for a more stable version. This app crashes from time to time and

> > when it does it’s normally between 2 and 3 am :). I have built a monitor

> > for

> > it so I know when it crashes. However, to get it working again I have to

> > manually log into the offending server, reboot and relogin so that I can

> > run

> > it on the desktop. I cannot simply restart the app without rebooting

> > because

> > it will lock out the ports it was originally using and when the 2nd

> > version

> > tries to start, it will find those ports still locked.

> >

> > Can I automate this?

> >

> > I can cause the monitor to reboot the server but I’ve not found a way for

> > it

> > to relogin to the desktop. I can have the app run first thing on login so

> > that’s not an issue. It’s the login into the administrator account that’s

> > giving me trouble. Any help?

> >

> > Thanks

> > Travis

> >

>

>

Guest Soo Kuan Teo [MSFT]
Posted

Re: Unattended Reboot -> Relogin. Is it possible?

 

If the console session created by autologon has the app you want, instead of

auto create a TS remote session, you can try to connect to the active

console session that is created by autologon, first you TS to the machine,

then use tscon.exe to connect to the console session.

Thanks

Soo Kuan

 

 

 

--

This posting is provided "AS IS" with no warranties, and confers no rights.

 

"Travis" <Travis@discussions.microsoft.com> wrote in message

news:8E4A92F4-EEB3-46B8-AE8F-381D6228E4E9@microsoft.com...

> This util does something I've already tried and will not allow me to do

> what

> I need.

>

> I do not have physical access to the servers and need to use TS to access

> them.

>

> Autologin will open up ,it seems, 2 desktops using the same

> user(administrator) and if I tell the desktop that 'autologins' to open

> the

> app, I have no access to it via TS because I'm on the other desktop. I

> need

> to have desktop access to the app in question in order for me to do things

> like add users, etc.

>

> What I need is TS to log in immediatly on reboot, allow the app to open

> and

> then log off again so that I can log in later via TS.

>

> Is this possible?

> thanks

> Travis

>

>

>

>

>

> "Soo Kuan Teo [MSFT]" wrote:

>

>> Have you tried the following?

>> http://www.microsoft.com/technet/sysinternals/Security/Autologon.mspx

>>

>> Thanks

>> Soo Kuan

>>

>>

>> --

>> This posting is provided "AS IS" with no warranties, and confers no

>> rights.

>>

>> "Travis" <Travis@discussions.microsoft.com> wrote in message

>> news:1C4AA586-E80A-45DB-95B4-43CA2E80E7C1@microsoft.com...

>> >I have several web servers (both win2k and 2k3) that run a *desktop app*

>> > that’s both old and unstable and is used for networking a legacy app

>> > on

>> > many

>> > client machines. This app runs as a desktop application and cannot be

>> > run

>> > as

>> > a Windows service(for various unimportant reasons). It cannot be

>> > replaced

>> > or

>> > upgraded for a more stable version. This app crashes from time to time

>> > and

>> > when it does it’s normally between 2 and 3 am :). I have built a

>> > monitor

>> > for

>> > it so I know when it crashes. However, to get it working again I have

>> > to

>> > manually log into the offending server, reboot and relogin so that I

>> > can

>> > run

>> > it on the desktop. I cannot simply restart the app without rebooting

>> > because

>> > it will lock out the ports it was originally using and when the 2nd

>> > version

>> > tries to start, it will find those ports still locked.

>> >

>> > Can I automate this?

>> >

>> > I can cause the monitor to reboot the server but I’ve not found a way

>> > for

>> > it

>> > to relogin to the desktop. I can have the app run first thing on login

>> > so

>> > that’s not an issue. It’s the login into the administrator account

>> > that’s

>> > giving me trouble. Any help?

>> >

>> > Thanks

>> > Travis

>> >

>>

>>


×
×
  • Create New...