Windows Recon automatic enrollment

psd_martinb
New Contributor III

Hello,

I'm trying to setup automatic enrollment for my Windows machines. I've setup a scheduled task in group policy for checking in, this works great.

However, upon Quickadd creation I was getting some strange errors, here is a screenshot.
7039f5a9c5f04d86b8862c50a6cb92e5

I went on to investigate command line enrollment for my clients. Here is the (same) result:

C:WindowsTempjamf.exe enroll -overrideJSS https://jss.psd401.net:8443 -username imaging -password * -allowInvalidCertificate -ssl true

JSS enrollment process started...
Overriding JSS Url. Url to be used -> https://jss.psd401.net:8443
Overriding AllowInvalidCertificate -> True
Enrolling to 'https://jss.psd401.net:8443/'...
The SSL certificate was successfully save as: 'Peninsula School District JSS Built-in Certificate Authority'
Starting invitation request...
There was an unexpected error executing the command 'jamf.Commands.CommandEnroll'!
System.NullReferenceException: Object reference not set to an instance of an object. at jamf.JAMFCoreComm.JssRequest.ProcessInvitationRequest(WebRequest request) at jamf.JAMFCoreComm.EnrollmentComm.InvitationRequest.JssInvitationRequest() at jamf.Commands.CommandEnroll.RequestInvitation() at jamf.Commands.CommandEnroll.Execute() at jamf.Program.Main(String[] args)

The error occurs on multiple computers.
Thanks for the help, I'm hoping anybody finding this finds a resolution.

1 ACCEPTED SOLUTION

pat_best
Contributor III

Hi there! I just ran through something similar... check to make sure that your extension attributes (mac or PC) do not contain the characters : or - that is colon or dash. I had to rename a few to get my Windows Recon working again.

View solution in original post

3 REPLIES 3

psd_martinb
New Contributor III

I was able to continue trying to create a Quickadd with success. When I try to create another Quickadd the issue continues.

pat_best
Contributor III

Hi there! I just ran through something similar... check to make sure that your extension attributes (mac or PC) do not contain the characters : or - that is colon or dash. I had to rename a few to get my Windows Recon working again.

psd_martinb
New Contributor III

Well I'll be darn, I had an extension attribute called "Wi-Fi SSID"... I renamed this and instantly had success. Thanks! Hope others find this useful :)