********************** Windows PowerShell transcript start Start time: 20260805111114 Username: KANE\workstation RunAs User: KANE\workstation Configuration Name: Machine: DAL-000000 (Microsoft Windows NT 10.0.26200.0) Host Application: C:\windows\system32\WindowsPowerShell\v1.0\PowerShell_ISE.exe Process ID: 15056 PSVersion: 5.1.26100.8875 PSEdition: Desktop PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.26100.8875 BuildVersion: 10.0.26100.8875 CLRVersion: 4.0.30319.42000 WSManStackVersion: 3.0 PSRemotingProtocolVersion: 2.3 SerializationVersion: 1.1.0.1 ********************** Transcript started, output file is C:\Users\workstation\OneDrive - krcl.com\myscripts\enrollment\DAL-000000\20260805_111114-DSRegTool.txt =========================================================== Device Registration Troubleshooter Tool =========================================================== Please provide any feedback, comment or suggestion Enter (1) to troubleshoot Microsoft Entra Register Enter (2) to troubleshoot Microsoft Entra join device Enter (3) to troubleshoot Microsoft Entra hybrid join Enter (4) to verify Service Connection Point (SCP) Enter (5) to verify the health status of the device Enter (6) to Verify Primary Refresh Token (PRT) Enter (7) to collect the logs Enter (Q) to Quit DSRegTool log file has been created. TroubleshootMicrosoft Entra hybrid joined option has been chosen DSRegTool 4.0 has started Device Name : DAL-000000 User Account: kane\workstation, UPN: workstation@krcl.com Testing if PowerShell running with elevated privileges... PowerShell is running with elevated privileges Testing OS version... Test passed: device has current OS version (10.0.26200.0) Testing if the device joined to the local domain... Test passed: dal-000000 device is joined to the local domain: KANE Testing if the device is connected to AzureAD... Test passed: dal-000000 device is joined to Microsoft Entra tenant: krcl.com Checking if there is a valid Access Token... ********************** Command start time: 20260805111126 ********************** PS>TerminatingError(Invoke-WebRequest): "The remote server returned an error: (401) Unauthorized." There no valid Access Token, please sign-in to get an Access Token Device code %code% has been copied to the clipboard, please paste it into the opened 'Microsoft Graph Authentication' window, complete the sign in, and close the window to proceed. Note: If 'Microsoft Graph Authentication' window didn't open, use a web browser to open the page https://login.microsoft.com/device and enter the code %code% to authenticate. ********************** Command start time: 20260805111228 ********************** PS>TerminatingError(Remove-Item): "Cannot bind argument to parameter 'Path' because it is null." You signed-in successfully, and got an Access Token for user: Joseph R. Martinez, UPN: jrmartinez@krcl.com Testing device status on Microsoft Entra ID... Testing if device exists on Microsoft Entra ID... Test passed: the device object exists on Microsoft Entra ID Testing if device is enabled on Microsoft Entra ID... Test passed: the device is enabled on Microsoft Entra tenant Testing device PENDING state... Test passed: the device is not in PENDING state Checking if device is stale... Device is not stale Last logon timestamp: 2026-08-02T03:16:30Z UTC, 3 days ago Testing device dual state... Test passed: The device is not in dual state The device is connected to Microsoft Entra ID as Microsoft Entra hybrid joined device, and it is in healthy state. Script completed successfully. ********************** Windows PowerShell transcript end End time: 20260805111228 **********************