Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rundll32 Logoff

Status
Not open for further replies.

SoulSe

Technical User
Jan 29, 2002
22
0
0
ZA
I have been trying to force user logoffs using rundll32.exe along with user32.dll the syntax I used was as follows: "rundll32.exe user32.dll,ExitWindowsEx 0"

When I use this command, nothing happens, no response at all. The idea I had was to schedule this command as a task which runs after x amount of idle time on a workstation, thus forcing a logoff (there doesn't seem to be any other way to do it.) I also tried using shell32.dll, but this doesn't seem to have any features for logoff.

I am also trying to find a way to prevent concurrent user logins (nothing in group policies).

Can someone please help me?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top