Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Log off user with "Fast User Switching" enabled

12 May 2010   #11
acurasd

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
.
12 May 2010   #12
Ch@n

 

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 System SpecsSystem Spec
12 May 2010   #13
manhunter2826

Windows XP - Now Windows 7 Home Premium (64-bit).
 
 

Agreed. I always thought that FUS was never even available as feature with machines connected to a domain...
My System SpecsSystem Spec
.

12 May 2010   #14
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

Simple we do it all the time, check out option -o:

PsShutdown
My System SpecsSystem Spec
12 May 2010   #15
kenboy

Windows 7
 
 

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 System SpecsSystem Spec
12 May 2010   #16
zzz2496

Windows7 Ultimate 64bit
 
 

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 System SpecsSystem Spec
12 May 2010   #17
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

Quote   Quote: Originally Posted by kenboy View Post
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 System SpecsSystem Spec
12 May 2010   #18
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

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 System SpecsSystem Spec
13 May 2010   #19
kenboy

Windows 7
 
 
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 System SpecsSystem Spec
13 May 2010   #20
hokieman91

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 System SpecsSystem Spec
Reply

 Log off user with "Fast User Switching" enabled




Thread Tools




Similar help and support threads
Thread Forum
How to disable shutdown "all is fail" button on user switching
:) hello I came here to seek on how to customize windows pc to remove that red :mad: button on user switching. Coz you know right now. I am restraining my temper bcoz you know for formality :party: There's alot goin through my head right now like. ...wth?? Standard users are made so that they...
Customization
Desktop changes, but only after Fast User Switching
I recently replaced my 1920x1200 display with a 2560x1440, and it seems that since then whenever I do a Fast User Switch from the intial user logon to a 2nd (both Admins), when I logoff User2 and switch back-again to the original user profile, certain of the gadgets and desktop icons move, those at...
Software
Restore "All User" and "Default User" profiles?
*update* Just found out that most of ProgramData's cleared out too. Yea, can't really restore that stuff. Didn't lose anything thanks to my ocd filing system. Sigh....all nighter restoring my system, here I come. So now, changing the focus, please enlighten me as to how this happened? Why...
General Discussion
Go to fast user switching when I close my laptop lid, WITHOUT standby
I remember there was a way to do this Windows XP, but I can't for the life of me figure out how to do it on Windows 7. I'm going to end up in jail when I beat my kids if I come home and get on my laptop one more time and find my Facebook, Myspace etc logged out and theirs logged in. I have...
General Discussion
Fast user switching without password
What I would like is to have the need for passwords to be entered on initial login, but not when switching users. Is this possible?
General Discussion
Fast User Switching for Domain PC's
Wanting to migrate my student lab's to & this summer but need to find a way to "Disable" Fast User Switching - I see the advantage for the home user and maybe even a small office but for students who NEVER log off, I want the machines to run as fast and as clean as possible and NOT have multiple...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:01.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App