Log off user with "Fast User Switching" enabled

kenboy

New member
Local time
3:33 PM
Messages
6
We are in a domain environment.
We want to disable "Fast User Switching" on our Windows 7 client machines.
We know how to do that, but how do you log off a user who has locked the machine AND the machine has "Fast User Switching" enabled.
We are administrators on the local machine but don’t know how to log off the user.
In XP you could just put in your admin credentials and log the user off.
We only want 1 user at a time to log on the the client machines but also need to be able to log them off if we need to service the machine.
 

My Computer

OS
Windows 7
We are in a domain environment.
We want to disable "Fast User Switching" on our Windows 7 client machines.
We know how to do that, but how do you log off a user who has locked the machine AND the machine has "Fast User Switching" enabled.
We are administrators on the local machine but don’t know how to log off the user.
In XP you could just put in your admin credentials and log the user off.
We only want 1 user at a time to log on the the client machines but also need to be able to log them off if we need to service the machine.

Surely you can log them off from the server.

You could create a hidden admin account and use those credentials
 

My Computer

Computer Manufacturer/Model Number
HP Pavillion dv-7 1005 Tx
OS
Win 8 Release candidate 8400
CPU
[email protected]
Memory
4 gigs
Graphics Card(s)
Nvidia 9600M
Sound Card
HD built-in
Monitor(s) Displays
17" Wxga
Screen Resolution
1440x900
Cooling
none
Internet Speed
45Mb down 5Mb up
We already have a local admin account and how would our desktop support people who are also admin's on the machine log off the user so they can service the machine? There is no prompt or space to input another account, it just prompt's for the user who is currently logged on to type in his passsword to unlock it.
 

My Computer

OS
Windows 7
Bill,

I can't get to task manager if the user has locked the machine.
We don't have fast user switching enabled. We don't want multiple users logging in at the same time.
 

My Computer

OS
Windows 7
lol Kenboy, in your first post you said its enabled. The only solution i can think of is to enable fast user switching temporarily through gpedit (or whichever way domain guys do it), then reboot the machine and hope you'll be able to input an alternative login and password. Feel free to correct me if this is not possible, am no expert on domains.
 

My Computer

Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
sorry, I meant we want "Fast User Switching" disabled. but be able to have our desktop techs log the user off.
 

My Computer

OS
Windows 7
Hi Kenboy - I am in the EXACT same boat - I DO NOT want multiple students logged in to the domain machine and can't find a way to completely turn off multiple logins for Windows 7 - This is a HUGE problem and hiding the "switch user" option is worse since NO ONE can log back in except THAT user - wanting to upgrade many machines this summer but looking at other options if this can't be resolved~
Did you get any more feedback on this? frustrating....
 

My Computer

OS
Windows 7
Can Fast User Switching not be disabled on the Server side via group policies? Surely yes:confused:
 

My Computer

OS
Windows XP - Now Windows 7 Home Premium (64-bit).
Is "Fast user switching" enabled in Domain controlled client? AFAIK in XP and Vista, "FUS" is disabled by default when you login to domain. As for logging off the current user, I think you can do that in the Domain controller (I've been away from MS server products for far too long, I forgot where the "switch" is).

zzz2496
 

My Computer

Computer Manufacturer/Model Number
Self Built
OS
Windows7 Ultimate 64bit
CPU
Intel Core 2 Quad Q6600
Motherboard
Abit IN9-32X-MMAX
Memory
DDR2 Adata 4GB
Graphics Card(s)
Nvidia GeForce GTX 285 1024 and Nvidia GeForce 8800GT 512
Sound Card
Asus Xonar HDAV 1.3
Monitor(s) Displays
Dell 2407WFP and BenQ 2400v and Philips 150v3
Screen Resolution
3840x1200 and 1024x768
Hard Drives
2 WDC 1TB
1 WDC 1.5TB
1 WDC 640GB
1 WDC 320GB
1 Seagate 200GB
PSU
Corsair TX 850W
Case
Cooler Master HAF932
Cooling
Arctic Cooling Freezer Extreme and plenty of fans...
Keyboard
MicrosoftNaturalKeyboard 4000/Apple Alu keyboard/Dinovo mini
Mouse
Logitech G5/MarbleMouseTrackball/PerformanceMX/SpacePilotPRO
Internet Speed
1.5Mbps down/384Kbps up
Other Info
APC SURT 1000XL
Logitech Z-560
Wiimote
Mikrotik Router
Linksys (now Cisco) SD2008 8 port Gigabit switch
Linksys WRT54G (acting as AP)
Apple wireless Aluminium keyboard
Apple Magic Mouse
Xbox360 wired controller
Quote:
Originally Posted by rescuer
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersi
on\Policies\System

is the key you are looking for. I misprinted it in my earlier reply.

Add the 32bit key DisableFastUserSwitching IF IT IS NOT ALREADY THERE

Change its value data to 1

This will cause the "Switch User" menu choice on your log off restart ect. options to disapear.

This has worked on every Vista computer I have tried it on, Including your home Premium.

Good luck!


Sorry folks... my brains just not working..

THE 32 BIT KEY YOU NEED TO CREATE is "HideFastUserSwitching" NOT the disablefastuserswitching as I noted before.

Not sure if this will help... but it got it from this page....


Disable Fast User Switching - Vista Administration
 

My Computer

Computer Manufacturer/Model Number
HP Pavilion Elite HPE-410f
OS
Windows 7 Ultimate x64
CPU
AMD Phenom x6 1045t
Motherboard
N/A
Memory
8 GB
Graphics Card(s)
ATI Radeon HD 5570
Sound Card
Realtek Highdefinition Audio / 5.1 Dolby Setup
Monitor(s) Displays
HP w2207h Widescreen
Screen Resolution
1680*1050
Hard Drives
1 TB (fixed), 320 Portable maxtor, Server Hard drives
PSU
350 Watt
Case
HP CASE
Cooling
Bass
Keyboard
Logitech MX 5500
Mouse
Logitech MX 5500
Internet Speed
ROAD RUNNER 16MB D/512 U
Have I understood the issue??? Lets see..

User A uses a desktop, once done his job, locks the computer and leaves home.
user B tries to login, he gets a message, already A has locked the machine and only a user with Admin rights or an Administrator can unlock or use the machine.

Input the admin credentials and login. This will force the user A to logoff. Also keep in mind, if the user has any open files, it wil be forced to kill.

I use the same in my office which is under Domain.
 

My Computer

Computer Manufacturer/Model Number
MacBook Pro
OS
Lion
CPU
i5
Memory
4GB
Graphics Card(s)
Intel
Screen Resolution
1200x800
Hard Drives
Seagate FreeAgent GO 250GB Ext. HDD
Agreed. I always thought that FUS was never even available as feature with machines connected to a domain...
 

My Computer

OS
Windows XP - Now Windows 7 Home Premium (64-bit).
Simple we do it all the time, check out option -o:

PsShutdown
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell OP7010
OS
Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
Memory
16GB
Monitor(s) Displays
4 Dell 24" LCD
Screen Resolution
1280x1024
Keyboard
Dell
Mouse
Dell Optical
Internet Speed
40meg
Hokieman91,
I have not found a solution yet. You can disable FUS either in Ad group policy or in our case a local policy but then if a user has locked the machine and you need to log them off to service it, the "Switch User" button is not present. The only option is to have the user who is logged on, log off, but sometimes that user is not around or out they are out sick. The only option we have is to power down the machine.
 

My Computer

OS
Windows 7
kenboy, "Fast user switching" is disabled when the computer logged into Active Directory domain. The Domain administrators are the "Boss" by then. If a user left his/her computer locked, the Domain admin can login and turn the computer off...

zzz2496
 

My Computer

Computer Manufacturer/Model Number
Self Built
OS
Windows7 Ultimate 64bit
CPU
Intel Core 2 Quad Q6600
Motherboard
Abit IN9-32X-MMAX
Memory
DDR2 Adata 4GB
Graphics Card(s)
Nvidia GeForce GTX 285 1024 and Nvidia GeForce 8800GT 512
Sound Card
Asus Xonar HDAV 1.3
Monitor(s) Displays
Dell 2407WFP and BenQ 2400v and Philips 150v3
Screen Resolution
3840x1200 and 1024x768
Hard Drives
2 WDC 1TB
1 WDC 1.5TB
1 WDC 640GB
1 WDC 320GB
1 Seagate 200GB
PSU
Corsair TX 850W
Case
Cooler Master HAF932
Cooling
Arctic Cooling Freezer Extreme and plenty of fans...
Keyboard
MicrosoftNaturalKeyboard 4000/Apple Alu keyboard/Dinovo mini
Mouse
Logitech G5/MarbleMouseTrackball/PerformanceMX/SpacePilotPRO
Internet Speed
1.5Mbps down/384Kbps up
Other Info
APC SURT 1000XL
Logitech Z-560
Wiimote
Mikrotik Router
Linksys (now Cisco) SD2008 8 port Gigabit switch
Linksys WRT54G (acting as AP)
Apple wireless Aluminium keyboard
Apple Magic Mouse
Xbox360 wired controller
Hokieman91,
I have not found a solution yet. You can disable FUS either in Ad group policy or in our case a local policy but then if a user has locked the machine and you need to log them off to service it, the "Switch User" button is not present. The only option is to have the user who is logged on, log off, but sometimes that user is not around or out they are out sick. The only option we have is to power down the machine.

Did the PSShutdown not work???

psshutdown \\computername -o

We use this all the time it works perfectly.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell OP7010
OS
Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
Memory
16GB
Monitor(s) Displays
4 Dell 24" LCD
Screen Resolution
1280x1024
Keyboard
Dell
Mouse
Dell Optical
Internet Speed
40meg
BTW I know you say FUS is off, but if it is on you will need to use this command instead:

psshutdown \\computername -f -r -t 0
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell OP7010
OS
Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
Memory
16GB
Monitor(s) Displays
4 Dell 24" LCD
Screen Resolution
1280x1024
Keyboard
Dell
Mouse
Dell Optical
Internet Speed
40meg
Log off user with "Fast User Switching" disabled

Manhunter,acurasd,

FUS is turned off , that is the problem. there is no way to logoff the current user if he has locked it. I will probably have to use Windows Star's suggestion but then the desktop tech would have to go to another machine to run the command to logoff the user.

zzz2496,

We want the desktop techs to be able to log the user off, the desktop techs are administrator on the Pc's but are not domain admins. We want a local fix not a remote one. When using XP you had the option to input a different users credentials, but not with windows 7 and FUS disabled.

dre@ms,

That was the procedure with XP but not Windows 7 with FUS disable. You never get the option to input another users credentials.

Windows Star,

Looks like we will have to use your "REMOTE" fix of the "shutdown -o" command to be able to logoff a user when you are sitting right at the machine you need to logon to. It's a shame you had more control with XP than Windows 7. With XP you had the option of inputing another users credentials to log off the current user, even if it would lose any data they had opened, you could still gracefully log them off and service the machine.
 

My Computer

OS
Windows 7
Hi Everyone - thanks for the suggestions - with regard to the post about FUS being turned off when joined to a domain (that was true of XP but not of Vista and 7 Professional - and while this is an improvment and advantage for some, it simply works against me in a school setting).
PSSHUTDOWN is a utility I use to actually power down all my domain machines left on at the end of the day - the pain of that would be either I would have to hand off that ability to lab admins or man my workstation whenever someone needs a box powered down (again, not ideal).
Many of my classes deal in high end graphics programs (Adobe packages - and we are considering the CS5 package) so I really wanted to have the classes start each period with a max performing box and if 2 or even 1 student is logged in, that presents a problem.
Like kenboy pointed out, "hiding" the option doesn't work since that user would be the only one to be able to unlock the box - still just baffled that the powers at Microsoft missed this??
I have considered the mstsc option of allowing the lab admins to log into a remote desktop session to at least give the PC the log in prompt again but that still keeps the "locked" session live and it also opens ANOTHER port and service I would rather keep closed.
Glad I am not alone in this and hope this thread points out a solution - I am about 1 month away from deciding on whether to deploy 7 with deployment workbench (AWESOME program) or go with the tried and true rollout of XP of my old RIS box -
In my perfect world, I am trying to just make 7 as "maintenance free" as XP was for all those years~
 

My Computer

OS
Windows 7
Back
Top