Jump to content

Recommended Posts

Posted

Hi All,

 

I need to scheduled Exchange Management Console to run after the office hours but it always failed since my RDP session gets logged off overnight, is there any way to configure it to stay logged on (Windows Server 200 please ?

 

I'm having problem with my Remote Desktop session to Exchange Server as myself always gets logged off everynight ?

 

Thanks.

Posted

What about running the task using the console?

 

You can connect onto the server's console using the /admin or /console switch after the hostname/IP Address. (Sometimes, you need to launch RDP using the switch. See %windir%\system32\mstsc.exe /? for the correct switch)

 

Or....

 

Could you run this as a scheduled task and then have the task log on as the Administrator (or which ever username your admin is)?

 

 

Fraser

 

 

Fraser

  • Thanks 1
Posted

ah yes, many thanks for the suggestion to run as /admin console, but does it still works under Windows Server 2008 ?

i must run it using the Exchange management console.

Posted

Just to give you another option :-D

 

You can control the session timeout settings by going to Admin Tools > Terminal Services > Terminal Services Configuration, in the 'connections' box right click on RDP-Tcp, click properties and go to Sessions.

 

The main disadvantage I've found with this is that, depending on how many people access the server, you can end up being locked out as a result of disconnected running sessions.

  • Thanks 1
Posted
@albertwt: What are you trying to do? If it is a simple PowerShell script, can't you just schedule that using Task Scheduler and then you don't need to be logged on?
  • Thanks 1
Posted
@albertwt: What are you trying to do? If it is a simple PowerShell script, can't you just schedule that using Task Scheduler and then you don't need to be logged on?

 

@Ric, yes I should've tried that way

Posted

I know you have got it sorted now, but I thought it might be worth mentioning a few of the alternatives just in case you change your mind. ;)

 

I must run it using the Exchange Management Console.

Literally everything you can do in the Exchange Management Console you can do in PowerShell remotely since the EMC is just a front-end.

 

You can check which PowerShell commands the console is running in the background either by going to View » View Exchange Management Shell Command Log or by clicking the little PowerShell icon in the lower-left corner of each dialog box which gets enabled after you have modified something (but before you click the OK or Apply buttons). Click this and you can see the PowerShell command that will be run by Exchange. See the following webpage for more details on this...

 

http://www.msexchange.org/articles_tutorials/exchange-server-2010/management-administration/exchange-management-console-new-features-in-exchange-server-2010.html

 

As RabbieBurns mentioned above, you could also install the Exchange Management Console on your own workstation as long as it meets the prerequisites...

 

http://exchangeserverpro.com/exchange-2010-install-management-tools

 

It's also worth checking out Mike Pfeiffer's excellent blog as this has lots of useful tips for managing Exchange via PowerShell. :)

 

  • Thanks 1
  • 1 year later...
Posted

I tried to do below, but even using admin login, I found the options are disabled. Can you please help, how to resolve this disable issue?

 

Just to give you another option :-D

 

You can control the session timeout settings by going to Admin Tools > Terminal Services > Terminal Services Configuration, in the 'connections' box right click on RDP-Tcp, click properties and go to Sessions.

 

The main disadvantage I've found with this is that, depending on how many people access the server, you can end up being locked out as a result of disconnected running sessions.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...