Меню Рубрики

Log off windows 2012 server

Disable Windows Server 2012 automatic log off

I have been searching for a while, but I don’t find a solution for this anywhere. I’m in a factory and they have Windows Server 2012 with an HMI (HumanMachineInterface) on it. They have computers that they can log on the server to access the HMI. However every 15 minutes they are logged off of their session automatically. This is really annoying because they have to do it 50 times a day.

How can I disable that feature?

3 Answers 3

Quoting from Technet:

To specify timeout and reconnection settings for a remote session:

On the RD Session Host server, open Remote Desktop Session Host Configuration. To open Remote Desktop Session Host Configuration, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Session Host Configuration.

Under Connections, right-click the name of the connection, and then click Properties.

In the Properties dialog box for the connection, on the Sessions tab, select the following options as necessary:

Select the Override user settings check box, and then set timeout settings for End a disconnected session, Active session limit, and Idle session limit.

Select the Override user settings check box, and then select one of the following reconnection settings: Disconnect from session or End session.

Changes to timeout and reconnection settings are not applied to sessions that are connected when the change is made. The changes will take effect the next time the user establishes a new connection to the RD Session Host server.

You can also configure timeout and reconnection settings by applying the following Group Policy settings:

  • Set time limit for disconnected sessions
  • Set time limit for active but idle Remote Desktop Services sessions
  • Set time limit for active Remote Desktop Services sessions
  • Terminate session when time limits are reached

These Group Policy settings are located in the following locations:

These Group Policy settings can be configured by using either the Local Group Policy Editor or the Group Policy Management Console (GPMC).

Источник

logoff logoff

Область применения: Windows Server (половина ежегодного канала), Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 Applies to: Windows Server (Semi-Annual Channel), Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Выполнит выход пользователя из сеанса на удаленный рабочий стол сервере узла сеансов и удалит сеанс. Logs off a user from a session on a Remote Desktop Session Host server and deletes the session.

Синтаксис Syntax

Параметры Parameters

Параметр Parameter Описание Description
Указывает имя сеанса. Specifies the name of the session. Это должен быть активный сеанс. This must be an active session.
Указывает числовой идентификатор, определяющий сеанс на сервере. Specifies the numeric ID which identifies the session to the server.
/server: /server: Указывает сервер узла сеансов удаленный рабочий стол, содержащий сеанс, для которого пользователь должен выйти из системы. Specifies the Remote Desktop Session Host server that contains the session whose user you want to log off. Если не указано, используется сервер, на котором активна в данный момент. If unspecified, the server on which you are currently active is used.
/v /v Отображает сведения о выполняемых действиях. Displays information about the actions being performed.
/? /? Отображение справки в командной строке. Displays help at the command prompt.

Примечания Remarks

Вы всегда можете выйти из сеанса, к которому в данный момент выполнен вход. You can always log off yourself from the session to which you are currently logged on. Однако необходимо иметь разрешение « полный доступ» для выхода пользователей из других сеансов. You must, however, have Full Control permission to log off users from other sessions.

Выход пользователя из сеанса без предупреждения может привести к утрате данных в сеансе пользователя. Logging off a user from a session without warning can result in loss of data at the user’s session. Необходимо отправить пользователю сообщение с помощью команды MSG , чтобы предупредить пользователя перед выполнением этого действия. You should send a message to the user by using the msg command to warn the user before taking this action.

Если параметр или не указан, функция выхода из системы выполняет выход пользователя из текущего сеанса. If or isn’t specified, logoff logs the user off from the current session.

После выхода пользователя из системы все процессы завершаются, а сеанс удаляется с сервера. After you log off a user, all processes end and the session is deleted from the server.

Пользователь не может выйти из сеанса консоли. You can’t log off a user from the console session.

Примеры Examples

Для выхода пользователя из текущего сеанса введите: To log off a user from the current session, type:

Для выхода пользователя из сеанса с помощью идентификатора сеанса, например сеанса 12, введите: To log off a user from a session by using the session’s ID, for example session 12, type:

Для выхода пользователя из сеанса с использованием имени сеанса и сервера, например Session TERM04 на сервере Server1, введите: To log off a user from a session by using the name of the session and server, for example session TERM04 on Server1, type:

Источник

MSSQLTREK

My Journey with SQL Server….!

Logout/Log off in Windows Server 2012

Let me show you where you can find log off Option in Windows Server 2012. I know this might sound stupid, but let me tell you this..I struggled for a while to find out where this is 😀

Most of us are already aware of this, where to get power off option right…? (Shown in the below screenshot for whoever is completely new to Win 8 World).

I got this Vertical Window by hovering my mouse at Bottom Right Corner of my screen, Once you get this click on Settings and you see something as shown below..

Well, I can only see Shutdown and Restart Options!! Where is this Log off hiding at??

you’ve to Click on the annoying Start Button( you will get this by hovering your mouse at the bottom left most corner of your screen, shown below)

Now, you will get this Metro Style Screen, where you’ve to click on your User account Icon at the Top Right Corner of your Screen and you get options as shown below.

There you go…Sign out is our new Log Off Button 😀

Rate this:

Share this:

Like this:

Related

59 thoughts on “ Logout/Log off in Windows Server 2012 ”

Thanks for this, just fired up a Rackspace Cloud Windows Server 2012 VPS to take a look, after 20 minutes of trying to figure out how to log out I turned to Google & found this site

or you can do ALT + F4 for faster way to disconnect/log off or reboot.

Yep! All Good Old Short Cut Keys Still Apply 🙂

That’s the best answer by far, I HATE those “swipe” menu on the edge of the screen, especially in a remote desktop environment where you have to be at the near pixel to make it pop… Alt + F4 for the win!

I purely love that user experience is reduced to private knowledge of secret keystrokes. Alt F4 – wonderful. A whole streetfull of idiots, monsters and devils couldn’t have thought up anything better., We are all rightly proud to learn and know these secrets. They empower us.

Hil-arious! Really Microsoft? I didn’t waste my time looking. That is what Google is for. Thank you for being far more dedicated than I. I think ALT F4 will be my friend.

You can always use “WIN” + R, then shutdown -l

Regards Galip Ermis

Thanks for the screenshots – really helpful — why is it Google is so much smarter than Windows.

thanks! this was very helpful.

start powershell and use the command “logoff”

Another secret. Microsoft is wonderful. Secrets abound. Metro takes the essence of ‘successive revelations’ to a whole new plateau by removing all first, second and third order hints. Just like walking in deep forest when blind. Gotta love them.

User experience is key when developing any type of computing platform. Completely changing how processes are done at any level does not equate to “Wonderful”

Thanks a lot:) I was suprised that I need to look for this “simple” information:)

Thanks! It was annoying me.

A million times 20 minutes is a lot of wasted manhours. Why do corporations not scream at the top of their lungs to Microsoft that moving the furniture around all the time is counterproductive. Admittedly I only wasted 4 minutes, but 4 minutes times a million users is still a lot of wasted manhours.

Tom Turkington :
A million times 20 minutes is a lot of wasted manhours. Why do corporations not scream at the top of their lungs to Microsoft that moving the furniture around all the time is counterproductive. Admittedly I only wasted 4 minutes, but 4 minutes times a million users is still a lot of wasted manhours.

Correct. That’s stupid design.
Luckily now I’m working on MacBook and Linux servers most of the time although I got MCSE+I in 2000

thanks a ton…This really helped

Lol… What’s really funny is that it takes a Google Search to figure out how to do something like logoff… And Microsoft wonders why Windows 8/2012 isn’t selling well. Hmm..

Well it is not exactly that it is not selling well. Often enough the sale is forced – MS control of the channel is uncanny. But clearly there are customers who pay the increasing premium to avoid Win 2012

Microsoft is completely out of touch with their customer base. People like me need to be able to do the simple tasks quickly and easily. Seriously Microsoft, you had to make a simple task such as logging off a server so obscure that I had to Google it? Are you trying to go out of business. You did the same thing to DTS, taking an easy-to-use product and replacing with with SSIS, which requires hours to figure out how to dump data from a table to a text file.

Thanx! Damn Metro, I so hate it

Yep. A smart company would have left the start bar in place, and while hovering over the logoff button have a popup that says. PS- logoff. HotKey Alt-F4, and then guess what, everyone would start learning the shortcuts and powershell commands.

Great post, thanks for sharing. Microsoft’s counter intuitive interface design is inexcusable in this day in age. But no one is screaming because Microsoft never, ever listen and TBH, once you get over the rearranged furniture The OS does work.

Not listening is a corporate trait of MS. They only responded on Vista (by keeping XP alive after EOL), because corporates stopped buying new PCs unless they could be ‘downgraded’

Folks, There’s a good news – Windows 8.1 is coming with Start button on October 18th 2013. The “Return of the Start Button” 🙂

Thanks so much. I was feeling like a complete idiot, not being able to signout, and having to disconnect my session instead.

Complete fail by Microsoft – would it be so hard to have a logoff/shutdown button on the Start screen?

Ummmm….Start Button is back with windows 8.1 🙂
Btw, If you want start button on your current Windows 8 laptop/PC consider Installing POKKI start button for now. It’s free and an awesome substitute!

Thank You very much. It’s not fun when you are in an RDP session and you can’t logout. My only option was to reboot server. Have a great weekend!

Thanks! this is very helpful!!

Thanks. I imagine this page will get a ton of views. I’ve used it twice…

Really helpful. Thank you so much for sharing. I am in the Office 365 migration process. Client use Windows Server 2012. It was hard to find where to log off.

Having never used Server 2012…this is exactly what I needed. Thank you for posting this!

LOL, I’m not the only one who googled for this. Took me a while to figure it out. Though 3 of my machines at home are with Windows 8.1 with Start8 button but it took me few mins to figure it out. Really it was embracing searching out in front of Oracle DBA how to logoff from my first ever Win2012 Server built by Server Team. I just created a shortcut on my desktop (batch file) to logoff. Thanks Sreekanth for your valuable tip.

Glad it helped u Mubeen 🙂

AWESOME! Thank you so much.

Thankyou, I’ve been support windows for 20yrs and this was a mystery to me!

Still gathering hits LOL.

on a remote session it’s uncomfortable with keyboard shortcuts,
and typing “shoutdown /l” takes time too 🙂
Could make a batch on desktop and sucking APP Screen,
with starting the shutdown /L 🙂

After 25 years using and distributing Microsoft products,
I’m now quitting frindship. Adios Microsoft.
I’m no longer selling this peaces of sh** to my clients.

Hey…There are lot of improvements in Windows Server 2012 which are amazing IMO, you should explore them before yelling at MSFT for hiding Logout.

It’s ridicolous. Microsoft, are you serious? What were thinking your engineers when they thought about hiding logoff button on a server?

If, in the beginning, basic functions are only accessable by uncomfortable steps,
the NEW features ,may remain hidden a longer time,
because of some frustration by the admins, users, owners …

Just compare Linux/OSX CLI and this uggly Powershell.
It’s endless spaghetti coding and often unintuitive.
Thank God for copy & paste 🙂

Sure you can manage new servers more remotely by admin tools, and
the “logout” button gets useless, but why changing classical processes.

I see where you are coming from…From what am reading, Microsoft is working on bringing back start button very soon(not the 8.1 start button), the real start button 🙂

I just had to rant to make myself feel better “to someone.”

I have no clue what possessed someone at Microsoft to create the Windows 2012 graphical GUI interface, but the individual(s) should be taken out for remedial server training.

Up to now, I complained that Microsoft was forcing us to learn a new interface, in essence, forcing a retraining interval, while we are under pressure to deliver new applications that add actual value to an organization (Lync, SP13, etc.). I did not want to learn a new server interface as I’d already figured out Windows server via 3.51, 2000, 2004, 2008 – all were “refinements.”

But I faced it full-face tonight. I had to bounce through a local machine via RDP to ensure I didn’t VPN my existing sessions, then had to build a 2012 server. All went well, even patching, and the hardest part, simply logging off cleanly from a 2012 Hyper-V server within a 2012 within an RDP. The standard “Go to the bottom left, then click the “pseudo Start menu” to get my name, from which I could log off, failed, because of the multiple horizontal and vertical scrolling needed toi get to the upper right corner. And unlike WIn8, no Windows X to get the text list.

Server Admins are pissed Microsoft – you’ve delivered a lemon – please fix it.

Thank you (rant over with :).

Thanks alot….Annoying when you have to break your concentration for its intended purpose just to find the door out…..What if there was a proverbial fire.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Log iniis lost windows 7
  • Lode runner sierra windows 7
  • Locus map для windows
  • Lockwin для windows 10
  • Location activity windows что это