node-wifi
node-wifi copied to clipboard
Windows: not able to connect to network due to non-admin rights on PC
Expected Behavior
In Windows, when we try to connect to a networks, the connection fails if the user don't have admin privileges on the laptop. nodeWifiConnect.xml which is a temporary fails to create without admin rights. It should be created in a temporary location as its already a temp file and should work for non-admin users also.
Current Behavior
In Windows, when we try to connect to a networks, the connection fails if the user don't have admin privileges on the laptop. nodeWifiConnect.xml which is a temporary fails to create without admin rights.
Affected features
- [ ] node API
- [ ] cli
Possible Solution
nodeWifiConnect.xml temporary file should be created at a temporary solution so that non admin users can also connect to the network without need to run as an administrator.
Steps to Reproduce (for bugs)
- Run the connectWindows API without the admin rights.
- Connection will fail with the attached message (EPERM)
Context
Your Environment
- OS: Microsoft windows 10
- node-wifi version: 2.0.14
- wifi card: Intel(R) Dual Band Wireless-AC 8265