Generate Wifi Keys For Guest

Posted By admin On 05.05.20
  1. Generate Wifi Keys For Guests
  2. Generate Wifi Keys For Guest Home
  3. Generate Wifi Keys For Guest Free
  4. Generate Wifi Keys For Guest Room
  5. How To Get Wifi Keys

Ever wanted to create a cool QR code for your guests? But never wanted to type in your WiFi credentials into a form that submits them to a remote webserver to render the QR code? QiFi for the rescue! It will render the code in your browser, on your machine, so the WiFi stays as secure as it was before (read the code if you do not trust text on. Pre-shared keys (PSK) are typically used to authenticate users in WiFi networks, or wireless LANs. With Intune, you can create a WiFi profile using a pre-shared key. To create the profile, use the Custom device profiles feature within Intune.

-->

Pre-shared keys (PSK) are typically used to authenticate users in WiFi networks, or wireless LANs. With Intune, you can create a WiFi profile using a pre-shared key. To create the profile, use the Custom device profiles feature within Intune. This article also includes some examples of how to create an EAP-based Wi-Fi profile.

This feature supports:

  • Android device administrator
  • Android Enterprise Work Profile
  • Windows
  • EAP-based Wi-Fi

Important

  • Using a pre-shared key with Windows 10 causes a remediation error to show in Intune. When this happens, the Wi-Fi profile is properly assigned to the device, and the profile works as expected.
  • If you export a Wi-Fi profile that includes a pre-shared key, be sure the file is protected. The key is in plain text, so it's your responsibility to protect the key.

Before you begin

  • It may be easier to copy the code from a computer that connects to that network, as described later in this article.
  • You can add multiple networks and keys by adding more OMA-URI settings.
  • For iOS/iPadOS, use Apple Configurator on a Mac station to set up the profile.
  • PSK requires a string of 64 hexadecimal digits, or a passphrase of 8 to 63 printable ASCII characters. Some characters, such as asterisk ( * ), aren't supported.

Generate Wifi Keys For Guests

Create a custom profile

Generate wifi keys for guest house
  1. Sign in to the Microsoft Endpoint Manager admin center.

  2. Select Devices > Configuration profiles > Create profile.

  3. Enter the following properties:

    • Name: Enter a descriptive name for the policy. Name your policies so you can easily identify them later. For example, a good policy name is Custom OMA-URI Wi-Fi profile settings for Android device administrator devices.
    • Description: Enter a description for the profile. This setting is optional, but recommended.
    • Platform: Choose your platform.
    • Profile type: Select Custom.
  4. In Settings, select Add. Enter a new OMA-URI setting with the following properties:

    1. Name: Enter a name for the OMA-URI setting.

    2. Description: Enter a description for the OMA-URI setting. This setting is optional, but recommended.

    3. OMA-URI: Enter one of the following options:

      • For Android: ./Vendor/MSFT/WiFi/Profile/SSID/Settings
      • For Windows: ./Vendor/MSFT/WiFi/Profile/SSID/WlanXml

      Note

      Be sure to include the dot character at the beginning. Orchestral suite vst free download.

      SSID is the SSID for which you're creating the policy. For example, if the Wi-Fi is named Hotspot-1, enter ./Vendor/MSFT/WiFi/Profile/Hotspot-1/Settings.

    4. Data Type: Select String.

    5. Value: Paste your XML code. See the examples in this article. Update each value to match your network settings. The comments section of the code includes some pointers.

  5. When you're done, select OK > Create to save your changes.

Your profile is shown in the profiles list. Next, assign this profile to your user groups. This policy can only be assigned to user groups.

The next time each device checks in, the policy is applied, and a Wi-Fi profile is created on the device. The device can then connect to the network automatically.

Generate Wifi Keys For Guest Home

Android or Windows Wi-Fi profile example

The following example includes the XML code for an Android or Windows Wi-Fi profile. The example is provided to show proper format and provide more details. It's only an example, and isn't intended as a recommended configuration for your environment.

Generate Wifi Keys For Guest Free

What you need to know

  • <protected>false</protected> must be set to false. When true, it could cause the device to expect an encrypted password, and then try to decrypt it; which may result in a failed connection.

  • <hex>53534944</hex> should be set to the hexadecimal value of <name><SSID of wifi profile></name>. Windows 10 devices may return a false x87D1FDE8 Remediation failed error, but the device still contains the profile.

  • XML has special characters, such as the & (ampersand). Using special characters may prevent the XML from working as expected.

Example

EAP-based Wi-Fi profile example

The following example includes the XML code for an EAP-based Wi-Fi profile: The example is provided to show proper format and provide more details. It's only an example, and isn't intended as a recommended configuration for your environment.

Create the XML file from an existing Wi-Fi connection

You can also create an XML file from an existing Wi-Fi connection. On a Windows computer, use the following steps:

  1. Create a local folder for the exported W-Fi- profiles, such as c:WiFi.

  2. Open up a command prompt as an administrator (right-click cmd > Run as administrator).

  3. Run netsh wlan show profiles. The names of all the profiles are listed.

  4. Run netsh wlan export profile name='YourProfileName' folder=c:Wifi. This command creates a file named Wi-Fi-YourProfileName.xml in c:Wifi.

    • If you're exporting a Wi-Fi profile that includes a pre-shared key, add key=clear to the command:

      netsh wlan export profile name='YourProfileName' key=clear folder=c:Wifi

      key=clear exports the key in plain text, which is required to successfully use the profile.

After you have the XML file, copy and paste the XML syntax into OMA-URI settings > Data type. Create a custom profile (in this article) lists the steps.

Tip

ProgramDataMicrosoftWlansvcProfilesInterfaces{guid} also includes all the profiles in XML format.

Best practices

  • Before you deploy a Wi-Fi profile with PSK, confirm that the device can connect to the endpoint directly.

  • When rotating keys (passwords or passphrases), expect downtime and plan your deployments. Consider pushing new Wi-Fi profiles during non-working hours. Also, warn users that connectivity may be affected.

  • For a smooth transition, be sure the end user's device has an alternate connection to the Internet. For example, the end user can switch back to Guest WiFi (or some other WiFi network) or have cellular connectivity to communicate with Intune. The extra connection allows the user to receive policy updates when the corporate WiFi Profile is updated on the device.

Generate Wifi Keys For Guest Room

Next steps

How To Get Wifi Keys

Be sure to assign the profile, and monitor its status.