Questions tagged [disconnected-session]
19 questions
14
votes
3 answers
Client Disconnected
I am often getting a Client Disconnected message. I don't use load balancing - only a single IIS server. I need to know what is causing this and how to fix it.
Here is the exception info:
Type: System.Web.HttpException
Message: The client…

Bob Jones
- 475
- 1
- 11
- 16
4
votes
2 answers
Powershell to find out disconnected RDP session and log off at the same time
Is there a script that can log out my disconnected RDP session from any server? This is causing a lot of pain and constant ad account lockouts.
Any help would be awesome.

LT-
- 673
- 2
- 7
- 19
3
votes
1 answer
Entity Framework disconnected graph and navigation property
I'm working with Entity Framework 6 Code First and Fluent API. I have a one to many relationship between Visit and VisitPage (1 Visit has many VisitPage objects). This is the simplified version of the POCO classes:
Visit: Id (identity), UrlReferrer,…

Francisco Goldenstein
- 13,299
- 7
- 58
- 74
2
votes
0 answers
Get memory used by every user in Windows server using PowerShell
I want to generate a report on the disconnected users on the servers with the memory allocated to them. I am using the below script.
Get-WmiObject Win32_Process |
select @{N='User';E={$_.GetOwner().User}}, WorkingSetSize |
group user |
…

SQLDoctor
- 343
- 7
- 16
2
votes
1 answer
powershell script to kill .exe terminal server disconnected session
I'm looking for a method to kill a .exe of disconnected terminal session. It's about Navision; We have limited licences and want to keep killing the ones that aren't in use.
I know there are methods to completely logoff the disconnected session, but…

michiel_gol
- 21
- 1
2
votes
2 answers
How to prevent errors while running Intersystems Caché terminal scripts?
I'm developing a system that needs to execute Intersystems Cache Terminal Scripts.
When I run a routine inside the regular Caché terminal or a telnet terminal, Cache executes the routine until the end with no problems. But when I try to run the same…

Luis Soeiro
- 4,262
- 6
- 35
- 45
1
vote
1 answer
Logoff Disconnected user sessions based on IDLE time
I have written a PS script to find any user who has a disconnected RDP session on remote servers and I got help from user @Theo to get it finished.
Now add on to my script, I want to Log off the disconnected users if the IDLE time is more than 1…

nikon D3400
- 61
- 2
- 10
1
vote
4 answers
Powershell invoke-computer to a remote that survives a reboot of my local computer?
Is there a way to "invoke-command" to a remote computer such that I can reboot my computer and the job will still be running, and I can check the output log whenever I want?
PS> invoke-command -Computer Remote1 -File…

pico
- 1,660
- 4
- 22
- 52
1
vote
1 answer
SSH connection keep disconnecting when idle
When the ssh connection is idle I get client_loop: send disconnect: Boken pipe what can I do?

Yahav Cohen
- 21
- 3
1
vote
1 answer
NHibernate without a session
We are building a translation application which reads data from one database and translates it into a completely different format. We will be using NHibernate to read from the source database which is not yet available. We want to test the…
Bobcat1506
0
votes
4 answers
How can I run my application when windows session is disconnected?
I have made a simple application in C# and WHITE, which click on a button to clear the logs.
I use to connect to my test machine using Remote Desktop Connection and execute that application. It works fine when my session is connected but whenever…

user288645
- 331
- 1
- 4
- 15
0
votes
0 answers
Can I set session timeout for various user group with powershell 4.0?
I have to set this value
Hi.
I have to set disconnected session timeout depending on user group via powershell.
For example,
There is no timeout for administrator, but 1 hour timeout after disconnected for local user gruop.
Unfortunately, I can't…

Lentasha
- 1
- 1
0
votes
3 answers
How to get all remote logged on users with Logon Time
I wanted a simple way to get all (remote) logged on (and disconnected) users on all servers from my list.
I use the QUERY SESSION command for this purpose (as I found it to be the quickest and most reliable one). The command is called QWINSTA in my…

nikon D3400
- 61
- 2
- 10
0
votes
1 answer
How to get RDP Disconnected sessions using qwinsta command
I have written a PS script to find any user who has a disconnected RDP session on remote servers, I am getting the exact output as I want but, using qwinsta query I want to get the details of user Logon Time and IDOL time as well, but I am unable to…

nikon D3400
- 61
- 2
- 10
0
votes
2 answers
Disconnected Recordset
Someone I know wants to use diconnected recordsets in an application. To me it sounds like if I have a ORM tool there would really be no need to even touch disconnected recordsets. The way I understand it with ORM the ORM takes care of not hugging…

Ramiro
- 470
- 1
- 4
- 6