Files
TWR/notes.md
boxswapper 61b5be69c6 Update notes.md
updated with microsoft
2025-09-30 11:26:13 -06:00

54 lines
4.7 KiB
Markdown

# Intune Enrolment
### To quickly look up event 76 in the Windows Event Viewer on a Windows 11 Pro machine, follow these steps:
Open Event Viewer:
Press **Win + R** to open the Run dialog box. Type **eventvwr.msc** and press Enter. Navigate to Event Viewer:
In the left pane of the Event Viewer, expand "Windows Logs" and then select "Application and Services Logs". Filter Events by Source or Event ID:
You can filter events by source or event ID to find the specific event you're looking for. In the right pane, click on "Filter Current Log". In the "Event Viewer Filter" dialog box, select the "Log Name" as "Application and Services Logs". Under "Source", select "Microsoft-Windows-AutoLogon". For Event ID 76, you can simply type 76 in the "Event ID" field. Click on "Add" to apply the filter. View Events:
The events that match the filter will now be displayed in the right pane of the Event Viewer. You can double-click on an event to view its details. Advanced Filtering (optional):
If you need more detailed filtering options, such as time range or specific criteria, you can use the "Filter Current Log" dialog box again. Click on "Advanced Filter". You can configure various filters such as time range, event type, and other parameters. Click on "Apply" to apply the filter. By following these steps, you should be able to quickly find and view the specific event 76 in the Windows Event Viewer on your Windows 11 Pro machine.
The error message "Device management could not be enabled" with an error code of -2145833241 indicates that there was a problem with the device management service on your machine. This could be due to various reasons such as a network issue, a misconfiguration in the Intune Agent Service, or a conflict with another software component.
Here are some steps you can take to troubleshoot and resolve this issue:
Check Network Connectivity: Ensure that your machine has proper network connectivity. You can test this by pinging known websites or services on your network.
### Verify Agent Service Status:
Open the Task Manager and search for IntuneAgentService. Right-click on the service and select "Properties". Check if the service is running and set to automatic startup. Update Intune Agent: Make sure that you have the latest version of the Intune Agent Service installed. You can download the latest version from the Microsoft website or use the following command in PowerShell:
Add-WindowsFeature Online-Mgmt-Tools -IncludeManagementPack-Intune
-Restart
Check for Conflicting Software: Sometimes, other software components can conflict with the Intune Agent Service. Try disabling any unnecessary software and restarting the Intune Agent Service.
Review Log Files: Look at the logs located in the %ProgramData%\Microsoft\Intune\Logs directory on a Windows machine or the /var/log/intune/ directory on a Linux machine for more detailed error messages.
Contact Microsoft Support: If you're still having issues, consider reaching out to Microsoft Support for further assistance. They can provide guidance specific to your environment and help you troubleshoot any problems you may be experiencing.
If you can provide more details about the errors you're encountering, I'll do my best to assist you further.
### Microsoft Q & A answer
[microsoft Q & A page](https://learn.microsoft.com/en-us/answers/questions/5545379/device-management-could-not-be-enabled)
To resolve this error, please try the following steps in order:
First, confirm whether your organization actually requires device management. If it does not use Intune, you should not select the option to “Allow my organization to manage this device” when adding your account. Simply skip this option and complete the sign-in.
If your organization does use Intune, go to
Settings > Accounts > Access work or school > Enroll only in device management and try again.
You should also confirm with your IT admin that you have a valid Intune or Microsoft 365 license assigned. In addition, if your IT team has configured Windows Information Protection (WIP), they may need to set the WIP user scope in Intune to “None,” as this change has resolved the issue in many cases.
Finally, you can clear any cached credentials on your device. To do this, open Credential Manager in the Windows Control Panel, remove any Office 365-related entries from Windows Credentials, restart your computer, and then try adding the account again. Please follow these steps below:
- Press Windows + S, type Credential Manager, and open it.
- Go to Windows Credentials
- Look for any entries related to your old work or Microsoft 365 account (e.g., MicrosoftOffice16_Data:<your_email>)
- Click Remove on those entries
If the problem continues after trying these