Install Windows Roaming Client using Intune
Follow this post to install the Windows Roaming Client via Intune, Microsoft's endpoint manager.
What you need from DNSFilter
- Setup a network Site to associate with the agents. Make sure to assign the appropriate Filtering Policy and Block Page to the Site
- The Site Secret Key (SSK) from the Roaming Client Install tab
- The 64-bit Windows Roaming Client .MSI file (download from the same agent Install tab in the dashboard)
Intune Specifications
Add the Windows Roaming Client following Microsoft's Line of Business instructions.
- Add the .MSI file as the App Package file
- Use these specs on the App Information page:
- Name: DNSFilter agent 64bit
- Description: DNS Filter Agent
- Publisher: DNS Filter
- App Install Context: Device
-
Ignore app version: Yes
- This setting allows the roaming client to stay updated via auto-update without errors of the MSI reinstalling (due to the version not matching)
-
Command-line arguments:
NKEY
= "Your Site Key"- This step will add the SSK to the .MSI file
NKEY
line
- This step will add the SSK to the .MSI file
- Category: Computer Management
- Show this as a featured app in the Company Portal: Yes
✍️ When entering in quotes for the NKEY, make sure to use straight quotes instead of smart (curly) quotes. Smart quotes will prevent the Windows Roaming Client from registering successfully.
Once the agent is added, add groups in Intune as needed.
-
Official comment
Alex Billups Apologies for the confusion caused by the instructions in our documentation. To clarify, #4 under What you need from DNSFilter and #6 under Intune Specifications are referring to the same step. They are not separate adjustments but rather the same process described in different contexts.
For future reference, if you want to edit an
.MSI
file directly (though not typically necessary for most deployments), you can follow these steps:- Download an MSI Editing Tool: Use a tool like Orca, available as part of the Microsoft Windows SDK.
-
Open the .MSI File: Launch Orca, and open the DNSFilter
.MSI
file. -
Edit the Property Table: Navigate to the "Property" table and locate the
NKEY
property. -
Add or Modify the Value: Enter your Site Secure Key (SSK) in the
NKEY
field, e.g.,NKEY="YourSiteSecureKey"
. -
Save the File: Save the modified
.MSI
file, which will now automatically include the SSK without requiring a command-line argument during installation.
Please note that modifying
.MSI
files is an advanced process and can introduce errors if not done carefully. For most users, passing theNKEY
as a command-line argument remains the simplest and safest method.We’ll also work on making our instructions clearer to avoid similar misunderstandings in the future!
-
Some discoveries that might help someone else.
1.NKEY
= “Your site key” needs to have no spaces in it. (There are spaces in the example text above, that will break the Intune install)
The Intune portal should look like
NKEY="XXXXXXXXXXXXXXXXXXXXXXXX"
inside the Command line argument area
You can test the NKEY argument locally in PowerShell (not in Intune) the command looks like
msiexec /i <drive letter>:<path to file>\DNSFilter_Agent_Setup.msi NKEY="XXXXX"
This will auto insert the key and you can see it during the install wizard that pops up.
This still doesn't explain the section in this help doc discussing “adding the SSK to the msi file”
“Add the SSK to the .MSI fileNKEY
line” If there is a way to add the key to the .MSI file directly I assume that would remove the need to add the key line into the Intune file… but editing binary's isn't a normal thing so I feel like I missed something there.0
Please sign in to leave a comment.
Comments
2 comments