What "kick off" means and why you'd want to stop it
When you connect to a Windows computer remotely using Remote Desktop Connection (RDC), a kick off happens when your remote session automatically disconnects you because someone else logged into that same computer locally — at the keyboard. Windows treats a local login as higher priority and boots your remote session to make room for it.
You want to prevent this if you're running a long task remotely — a file backup, a software installation, a report generation — and you need that session to stay open even if someone walks up to the computer and logs in. Without a fix, your work stops mid-process, and you lose any unsaved data in that session.
The methods below work on Windows 10, Windows 11, and Windows Server editions. They require you to change settings on the computer you're connecting to (the remote machine), not on the computer you're connecting from.
Key Takeaways
- Kick off happens when someone logs in locally to a computer you're already connected to remotely, and Windows disconnects your session to prioritize the local user.
- The most reliable fix is to disable the "Disconnect Session" policy in Group Policy Editor on the remote computer, which requires administrator access.
- If Group Policy is not available (Windows Home editions), you can edit the registry directly using regedit, though this carries more risk if done incorrectly.
- A simpler workaround is to lock the remote computer instead of logging out, which prevents new logins and keeps your session active.
- Some organizations block these changes through domain policies, so you may need to contact your IT department if you work on a managed network.
Using Group Policy Editor to disable kick off
Group Policy Editor is the safest and most direct way to stop kick off. It's built into Windows Pro, Enterprise, and Server editions, but not Home editions.
On the remote computer, press Windows key + R, type gpedit.msc, and press Enter. Navigate to Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Session Time Limits. Look for the policy called Set time limit for disconnected sessions. Double-click it, select Disabled, and click OK. This prevents Windows from automatically disconnecting your session when someone logs in locally.
If you want finer control, also check the Set time limit for active but idle Remote Desktop Services sessions policy in the same folder. This one controls how long your session can sit idle before disconnecting — useful if you want to keep the session alive but not forever. Set it to a number of minutes that matches your needs, or disable it entirely if you want no time limit.
After you change these policies, you may need to restart the Remote Desktop service or log out and back in for the changes to take effect. To restart the service, press Windows key + R, type services.msc, find Remote Desktop Services, right-click it, and select Restart.
Editing the registry if Group Policy is not available
Windows Home editions don't include Group Policy Editor, so you'll need to edit the registry directly. This is riskier — a mistake in the registry can cause problems — so proceed carefully and back up your registry first.
On the remote computer, press Windows key + R, type regedit, and press Enter. Navigate to HKEY_LOCAL_MACHINE → SYSTEM → CurrentControlSet → Control → Terminal Server. Right-click in the empty space, select New → DWORD (32-bit) Value, and name it fSingleSessionPerUser. Set its value to 0 (zero). This allows multiple sessions from the same user and prevents kick off.
Before you make this change, right-click the Terminal Server folder, select Export, and save a backup copy of this registry section to your desktop. If something goes wrong, you can right-click the backup file and select Merge to restore it.
Close regedit and restart the Remote Desktop service (or restart the computer) for the change to take effect.
Locking the computer instead of logging out
A simpler workaround that doesn't require policy changes: lock the remote computer instead of logging out. When you lock a computer, your session stays active and running, but the login screen appears. If someone tries to log in, they'll see the lock screen and can log in as themselves — but your session remains open in the background and continues running any tasks you started.
To lock the remote computer while you're connected to it, press Ctrl + Alt + Delete (this works inside the remote session), then click Lock. Your remote session stays open and active, and any running processes continue. When you reconnect later, you can unlock it with your password and pick up where you left off.
This method works on all Windows editions and doesn't require administrator access or policy changes. The downside is that it only works if you remember to lock instead of log out, and it doesn't help if someone else needs to use the computer — they'll have to wait for you to unlock it or an administrator will have to force-log you out.
What to do if your organization blocks these changes
If you work on a company network or a managed computer, your IT department may have locked down these settings through domain Group Policy, which overrides your local changes. If you try to change the policies above and they're grayed out or revert after a restart, this is likely the reason.
Contact your IT department and explain that you need to run long-running tasks remotely without being kicked off when someone logs in locally. They can either adjust the domain policy for your computer or your user account, or they can advise you on an alternative approach that fits your organization's security requirements.
Some organizations use session broker software or virtual desktop infrastructure (VDI) instead of direct Remote Desktop connections, which handles multiple sessions differently. Your IT team can tell you whether that's available to you.
Why kick off happens and when you might want it
Windows disconnects remote sessions when someone logs in locally because it assumes a person at the keyboard takes priority over a remote user. This protects security — it prevents someone from leaving a remote session open unattended while another person uses the computer locally, which could expose data or allow unauthorized access.
In most home and small-office setups, you probably want to prevent kick off so your work doesn't get interrupted. In larger organizations, IT departments often leave kick off enabled for security reasons and only disable it for specific users or computers that need long-running remote tasks.
If you're setting up a computer specifically for remote work and no one will use it locally, you don't need to worry about kick off at all — it won't happen if only remote users ever log in.
Frequently Asked Questions
Will disabling kick off prevent me from seeing what's happening on the remote computer?
No. Disabling kick off only prevents your session from being disconnected. If someone logs in locally, they'll see the desktop and can use the computer normally. You won't see their activity in your remote session — you'll just stay connected in the background. When they log out, you can reconnect and see your session again.
Can I prevent kick off for just one user or one program?
The Group Policy and registry methods above apply to all remote sessions on that computer. If you need finer control — for example, to allow kick off for some users but not others — you'll need to use Remote Desktop Services Manager or contact your IT department about session broker policies, which are more complex to set up.
What happens to my files and programs if I get kicked off before I disable this?
Any unsaved files are lost, and programs may close or crash. This is why preventing kick off matters for long-running tasks. Once you've made the changes above, your session will stay open and your work will continue even if someone logs in locally.
Do I need administrator access to make these changes?
Yes. You need administrator rights on the remote computer to edit Group Policy or the registry. If you don't have admin access, ask the computer's owner or your IT department to make the changes for you, or ask them to grant you temporary admin rights.
Will these changes affect security?
Disabling kick off means your remote session can stay active even when someone else is using the computer locally. This is a minor security trade-off — make sure you lock your remote session when you step away, and don't leave sensitive work unattended. If security is a concern, discuss it with your IT department before making these changes.