Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Admin rights are necessary to install network profile #10

Open
nqb opened this issue Nov 2, 2020 · 1 comment
Open

Admin rights are necessary to install network profile #10

nqb opened this issue Nov 2, 2020 · 1 comment
Assignees

Comments

@nqb
Copy link

nqb commented Nov 2, 2020

If you run Windows provisioner as a standard user on a Windows 10 machine, certificates will be installed but you will get following error message displayed:

The wireless profile could not be added to your machine, please contact your local support.

When running application inside a command prompt as local user:

C:\Users\nqb\Downloads>"packetfence-windows-agent (2).exe"
2020/10/30 10:43:30 ==================== PacketFence Provisioning Agent ===================
2020/10/30 10:43:30 User's locale is: 0x409
2020/10/30 10:43:30 Language file successfully created.
2020/10/30 10:43:30 PNG file pf_bg.png successfully created.
2020/10/30 10:43:39 Success Your certificate was successfully installed, please press OK to continue.
2020/10/30 10:43:39 Success The CA was successfully installed on your machine.
2020/10/30 10:43:39 Information: The profile file was successfully created.
2020/10/30 10:43:39 Failed adding profile: output:
Failed to add machine profile due to error 740.

%!(EXTRA *exec.ExitError=exit status 1)

netsh commands used to install profile require admin rights.

@nqb nqb self-assigned this Nov 2, 2020
@nqb
Copy link
Author

nqb commented Nov 2, 2020

For Windows 10 (version 2004), we can try to use this feature: https://docs.microsoft.com/en-us/windows/win32/nativewifi/prov-wifi-profile-via-website.

Guide only speaks about WLAN profiles but I'm sure we can use this feature to configure LAN or WLAN profiles as Microsoft provided examples file for both:

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant