It is currently Thu Mar 28, 2024 2:47 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 19 posts ] 
Author Message
 Post subject: Switch user problem
PostPosted: Thu Jul 09, 2015 1:13 am 
Offline

Joined: Thu Aug 01, 2013 9:44 am
Posts: 13
I'm using 4.2.2 on Windows 10162. It looks good except for one thing.

When I'm logged on to my non-admin account, "Switch user" doesn't work. The screen clears and then goes back to my non-admin account. To get to my admin account, I need to log off.

The "Switch user" works right when I'm logged on to my admin account. It gets me back to the logon screen.

Steve

EDIT: In case it matters, my admin account has a password. My non-admin account does not.


Last edited by steve17 on Thu Jul 09, 2015 2:51 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Thu Jul 09, 2015 1:19 am 
Offline
User avatar

Joined: Sun Jan 06, 2013 1:44 pm
Posts: 1996
This isnt something that classic shell touches, but it may be resolved by the time windows 10 is finalized


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Thu Jul 09, 2015 2:49 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5374
Yeah Classic Shell does not affect user switching or account functionality in any way. Why do you think it should? It's just a Start Menu and Explorer addons.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and helped a little with Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Thu Jul 09, 2015 2:57 am 
Offline

Joined: Thu Aug 01, 2013 9:44 am
Posts: 13
But user switching works okay when I'm using Microsoft's shell. It only fails when using ClassicShell.

Note that Microsoft's shell doesn't have a "switch user" per se. Instead you click on the account you want to switch to.

In case it matters, my non-admin account doesn't have a password. My admin account does.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Thu Jul 09, 2015 3:11 am 
Offline

Joined: Thu Aug 01, 2013 9:44 am
Posts: 13
When switching users with Microsoft's shell, it gives me the logon screen with the account pre-selected that I clicked on to initiate the switch.

When using ClassicShell and I'm logged on to my password protected admin account, "Switch users" gives me the initial screen showing the date and time. I need to click that to get the logon screen. When I do click it, I get the logon screen with the admin account pre-selected.

They do work differently.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Thu Jul 09, 2015 4:53 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5374
Classic Shell's Start Menu calls the Windows operating system's "Switch user" function. It does not do the switching itself.

To understand this, temporarily exit Classic Shell's Start Menu by right clicking the button and choosing Exit. Now click once on the Desktop (or any icon on the Desktop) and press Alt+F4. In the "Shut Down Windows" dialog that you will get, select Switch User and click OK. The behavior should be the same as what clicking "Switch user" from Classic Start Menu does. However, this is the "legacy" switch user function (and the only one that can be called programmatically).

In Windows 8, Microsoft implemented a direct way of switching user accounts (which incidentally was due to the feedback I sent them ;)) from the Start screen by clicking the other account name itself while you are logged in to one user account. However they don't seem to have provided any programmatic way to do this for third party developers. This feature is continued to the Windows 10 Start Menu.

So yes the behavior is different when you use the former Switch User function vs when you directly click a user account to switch to from the Start Menu or Start screen. What you need to understand is the actual switching in both cases even though it is different is all done by the Windows OS itself and if one of the methods isn't behaving as expected, that's a bug in Windows 10. Classic Shell only does the job of calling the function when you click "Switch user" from its Start Menu.

Also, there is a new annoying (and in my opinion) incorrect behavior introduced with Windows 8. The OS automatically logs in to any user account which does not have a password set. So what may be happening is that when you use the "Switch user" function, it logs you into your non-admin account again. This is another bug/undesired behavior which was introduced for accounts which don't have a password set in Windows 8 (but I don't know if this bug is carried over to Windows 10).

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and helped a little with Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Thu Jul 09, 2015 6:48 am 
Offline

Joined: Thu Aug 01, 2013 9:44 am
Posts: 13
GauravK wrote:
Classic Shell's Start Menu calls the Windows operating system's "Switch user" function. It does not do the switching itself.

To understand this, temporarily exit Classic Shell's Start Menu by right clicking the button and choosing Exit. Now click once on the Desktop (or any icon on the Desktop) and press Alt+F4. In the "Shut Down Windows" dialog that you will get, select Switch User and click OK. The behavior should be the same as what clicking "Switch user" from Classic Start Menu does.
You are correct. Doing the Alt+F4 thing does fail just like the ClassicShell "Switch user". When done from my non-password account, it accomplished nothing. When done from a password account, it works by going to the initial date and time screen.

By the way, no need to exit ClassicShell to do the Alt F4 thing.

I wonder if Microsoft is interested in fixing this. Maybe they will consider it deprecated. I could try posting on the insider forum.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Thu Jul 09, 2015 7:13 am 
Offline

Joined: Thu Aug 01, 2013 9:44 am
Posts: 13
GauravK wrote:
Also, there is a new annoying (and in my opinion) incorrect behavior introduced with Windows 8. The OS automatically logs in to any user account which does not have a password set.
Actually build 162 doesn't usually do that. When using Microsoft's shell, and I click on another user, it gives the logon screen with that user pre-selected, even when there is no password.

I put a simple password on my non-admin account and now I can switch user from it. It does so, as always, by going to the initial date and time screen, but that is not a big deal.

Now I have to decide if I want to use ClassicShell with a password on my non-admin account or use Microsoft's shell without the password. ClassicShell seems nice so I guess I'll have to get used to the simple password.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Thu Jul 09, 2015 7:28 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5374
What about Win+L (or Lock command from Classic Shell) which Locks the PC? It also lists the user accounts now on the screen and doesn't seem to log on user accounts without a password automatically.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and helped a little with Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Thu Jul 09, 2015 7:40 am 
Offline

Joined: Thu Aug 01, 2013 9:44 am
Posts: 13
GauravK wrote:
What about Win+L (or Lock command from Classic Shell) which Locks the PC? It also lists the user accounts now on the screen and doesn't seem to log on user accounts without a password automatically.
Yes, that works even with users with no password. Again, it takes me to the initial date and time screen, but that is just another click. Besides, it's a pretty picture. ;)

That seems to be a winner. Now I'm trying to figure out how to remove the simple password from my regular non-admin account.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Thu Jul 09, 2015 8:00 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5374
Good to know. It is so tiring to keep up with the changes and solutions to changing problems in Microsoft's OSes.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and helped a little with Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Thu Jul 09, 2015 2:50 pm 
Offline

Joined: Thu Aug 01, 2013 9:44 am
Posts: 13
I posted the Alt-F4 thing on the insider forum. I was then asked to report this to Microsoft using the feedback app, and I did that too.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Fri Jul 31, 2015 7:31 am 
Offline

Joined: Fri Jul 31, 2015 6:02 am
Posts: 2
Today I installed official release of Windows 10 along with Classic Shell version 4.2.3. I really do appreciate Classic Shell. On my PC I have one administrator user protected by password and several family users without password.

Trying user switching using Classic Shell’s user switch button, I encountered exactly same problem described above:
Switching from user with password gets me to login screen. Trying to switch from user without password only causes my display flickering shortly while switching using keys Alt+F4 is working correctly.

User switching by Classic Shell’s user switch button seems to shortly disconnect and immediately reconnect currently logged-in user skipping login screen, i.e. reason of flickering. Same behaviour at Windows restart, where a previously logged-in user without password is getting automatically logged in bypassing login screen.

Remembering what I have read here, I manually navigated to Windows registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\UserSwitch
and set value of DWORD Enabled to 1 just before pressing Classic Shell’s user switch button. After pressing button I ended up at login screen as expected :) . As Windows is immediately resetting Enabled value back to 0, value has to be set to 1 each time before user switching.

I wonder if it were not possible to modify Classic Shell’s behaviour to programmatically set this registry key value just before calling user interface procedure for user switching.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Fri Jul 31, 2015 8:08 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
No, this is not possible. The start menu can't change HKLM registry keys because it does not run as administrator.
I will look into this once Windows 10 stabilizes.
When you say that the non-admin account doesn't have a password, is it just that the password is blank, or have you set up automatic login?


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Fri Jul 31, 2015 8:38 am 
Offline

Joined: Thu Aug 01, 2013 9:44 am
Posts: 13
The problem is caused by a bug in Windows. Apparently due to it's recently acquired propensity to automatically log in to an account with no password.

The workaround is simple. Instead of "Switch users", use "Lock". It normally does the same thing, but in this case, it gets around the Windows bug.

If you want to see the Windows bug without using ClassicShell, put the mouse cursor on the desktop. Then hit Alt F4. You will get the "shutdown menu" we have known and loved. Then select "Switch user" and watch it fail.

This has been reported to Microsoft by me, and maybe by others.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Fri Jul 31, 2015 9:47 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
The user Fritzle seems to imply that the Alt+F4 works for him in the final Windows 10 build. Are you still on the preview?


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Sat Aug 01, 2015 3:20 am 
Offline

Joined: Fri Jul 31, 2015 6:02 am
Posts: 2
Starting from Windows 8.1 I forced upgrade via command
wuauclt.exe /updatenow” on July 30 and I expect to be on final version now.

Command "ver" gives output string "Microsoft Windows [Version 10.0.10240]".

As my Windows is a German one, I’m only able to attach screenshots in German language.

Attachment Image1.jpg:
- Output window of command "winver"
- Window displayed after pressing Alt+F4 keys - after pressing "User switch", I am getting to login screen
Attachment Image2.jpg:
- modified value by non-administrative user of registry key item Enabled
- permissions of registry key UserSwitch
- special/advanced permissions of a non-administrative authenticated user

Registry permissions have not been altered after upgrade.
As you can see, registry key item Enabled may be modified by any authenticated user, whether administrative or not.

When I say that my non-admin accounts don't have a password, I mean I did not type any character into password fields when creating these user accounts ...
... and I did not set up automatic login.


Attachments:
File comment: Image2
Image2.jpg [249.1 KiB]
Not downloaded yet
File comment: Image1
Image1.jpg
Image1.jpg [ 162.18 KiB | Viewed 81773 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Sun Aug 02, 2015 4:14 am 
Offline

Joined: Thu Aug 01, 2013 9:44 am
Posts: 13
Ivo wrote:
The user Fritzle seems to imply that the Alt+F4 works for him in the final Windows 10 build. Are you still on the preview?
Yes, I'm using preview build 162.

I guess I should download the RTM and see what happens.


Top
 Profile  
Reply with quote  
 Post subject: Re: Switch user problem
PostPosted: Sun Aug 02, 2015 9:05 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5333
I have ran some tests and yes, the Alt+F4 is fixed for the RTM version.
The next version of Classic Shell will work as well.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.