timokoessler / 2FAGuard

A modern and secure Windows app for managing your 2FA authentication codes.
https://2faguard.app
MIT License
71 stars 5 forks source link

Support for Windows Server 2019 (Windows 10 1809) #47

Open PascalReintjensDSGF opened 3 weeks ago

PascalReintjensDSGF commented 3 weeks ago

What is your idea?

Because Windows 10 1809 is not supported, the App is unable to be installed on Windows Server 2019 which is based on 1809. On Windows Server 2022 it works great via App-Installer - but since Server 2019 will still be used for quite some time at lots of companies, this prevents the usage for a larger userbase.

Is there any chance to get support for 1809 / Windows Server 2019?

Thanks in advance!

timokoessler commented 3 weeks ago

Thanks for opening a feature request. I already closed a issue about this (#3), but you have a better reason why 2FAGuard should support older Windows versions. There was a reason why I chose this minimal version, but I can't remember it anymore πŸ˜‚. I will check the Microsoft changelogs again and come back to you then. Would you be willing to test a beta version on Windows Server 2019 and report whether everything works as expected?

PascalReintjensDSGF commented 3 weeks ago

Thank you very much for considering the support. Yes, I would be willing to test a beta version on Windows Server 2019 and report back :)

PascalReintjensDSGF commented 1 week ago

Hello @timokoessler - did you have any time to check the Microsoft changelogs? Thanks in advance.

timokoessler commented 6 days ago

Hello Pascal, Unfortunately I don't have much time at the moment, so I apologise for the delay. You can download a signed test installer using the following link. It would be nice if you could especially test features like Windows Hello or the detection of QR codes on the screen. You mentioned the App-Installer, may I ask why you prefer using MSIX?

https://2faguard.app/static-content/2FAGuard-Installer-1.5.2-Test.exe

PascalReintjensDSGF commented 4 days ago

Hello @timokoessler I tried to use the exe linked by you, but it still reported "Dieses Programm unterstΓΌtzt die auf Ihrem Computer installierte Version nicht." so I guess, Windows Server 2019 could have a version string that differs from Windows 10 1809 even though it is based on it. Can you tell me, where / how I can look up the version string to provide you with the needed one? In the settings, Windows reports itself as: Edition: Windows Server 2019 Datacenter Version: 1809 Betriebssystembuild: 17763.6414

Regarding App-Installer: I think that was somewhat misleading wording on my part. What I just wanted to express is that we used the .exe provided on Github as installer for the app, since we don't have the windows store on Server 2019 / 2022.

timokoessler commented 4 days ago

Interesting. The message "Dieses Programm unterstΓΌtzt die auf Ihrem Computer installierte Version nicht." is displayed by the OS and not by the app itself, or? Because I don't find any relevant search results with this exact text. I set the minimum OS version of the app to 10.0.17763.0. I will try to check this in a VM in the next days.

PascalReintjensDSGF commented 3 days ago

This is the message that appears: 388884910-156f9907-a857-4858-a22b-1dc69494e43a

As soon as you double click the exe linked by you, Windows asks whether you want to install for yourself or all users, and after you select an option, the message appears.

Could it be that the installer has it's own version number check that can differ from the one you set?

Otherwise, here are some regkeys and values that show the different ways Windows Server 2019 names its own version: Infos

timokoessler commented 3 days ago

Sorry, that's my fault! I totally forgot that the software I use to build the installer also has a option for the minimum OS version.

A new link: https://2faguard.app/static-content/2FAGuard-Installer-1.5.2-WinServer19-Test.exe

PascalReintjensDSGF commented 3 days ago

Thank you very much - the installation now worked without any problems. I have already tested a little and at first glance 2FAGuard seems to work great. I will test as much as possible in the beginning of the coming week and then give more feedback.

However, I have already noticed one problem that I wanted to give as feedback as soon as possible: When I open 2FAGuard with one user on the server and then try to open it with a second user on the same server at the same time, 2FAGuard doesn't start for the second user. As soon as the first user has closed 2FAGuard, the second user then is able again to open 2FAGuard. When one user is already using 2FAGuard and you try to open it on the second user, you can see in the task manager that its background processes are started for the second user for a moment and then they stop themselves before 2FAGuard becomes visible. I am guessing that the program is checking whether 2FAGuard is already running, and that that check isn't designed for windows server where different users could start the same program in their own context at the same time.

timokoessler commented 2 days ago

Nice that you can run it! This issue is hopefully fixed with this new version πŸ˜…. https://2faguard.app/static-content/2FAGuard-Installer-1.5.2-WinServer19-Test-3.exe

PascalReintjensDSGF commented 11 hours ago

Yes, that fixed it :)

I tested all functions today, below are the results: Setting Works? Comment
Setup > Windows Hello or Password (βœ“) Unable to test - but behavior without compatible hardware is fine (message that Windows Hello needs to be configured in settings)
Setup > Only password βœ“
Setup > Skip βœ“
Add Token > Manual input (General Fields) βœ“
Add Token > Manual input > Custom Icon βœ“
Add Token > Manual input > Note > formatting βœ“
Add Token > Manual input > Expert settings βœ“
Add Token > Scan QR code from the screen βœ“
Add Token > Add from clipboard βœ“
Add Token > Import QR code βœ“
Export > Backup βœ“
Export > URI list βœ“
Export > Authenticator Pro βœ“
Import > Backup βœ“
Import > URI list βœ“
Import > Authenticator Pro βœ“
Lock βœ“
Unlock βœ“
Settings > App Theme > Light βœ“
Settings > App Theme > Dark βœ“
Settings > App Theme > System X Not working, keeps light mode even when system is set to dark mode
Settings > Language > System βœ“
Settings > Language > English βœ“
Settings > Language > German βœ“
Settings > Autostart βœ“
Settings > Minimize and close to tray βœ“
Settings > Windows Hello (βœ“) Unable to test - but behavior without compatible hardware is fine (Greyed out)
Settings > Password > Change βœ“
Settings > Prevent recording βœ“
Settings > Auto lock βœ“
Settings > Lock timer βœ“
Settings > Security Key (FIDO2) > Configure (βœ“) Behaviour fine: Message "Your operating system does not seem to support WebAuthn"
Settings > Reset app βœ“
Token click > Copy βœ“
Token right click > Copy βœ“
Token right click > Display QR code βœ“
Token right click > Display QR code > Save βœ“
Token right click > Display QR code > Copy βœ“
Token right click > Delete βœ“

Looks very good πŸ‘