Hello sir.
Thank you for contacting Microsoft Q&A community!
1/ If your PC is Entra joined, you can restore local admin rights centrally:
In Microsoft Entra admin center: Entra ID → Devices → Device settings → Manage “Additional local administrators on all Microsoft Entra joined devices” → Add assignments
This uses the Microsoft Entra Joined Device Local Administrator mechanism and is designed specifically for this scenario.
Note: Microsoft’s doc also calls out that this option requires Entra ID P1/P2 licensing and applies to all Entra-joined devices.
After it’s applied, sign out/in (or reboot) and try an elevated action again.
For more details: https://learn.microsoft.com/en-us/entra/identity/devices/assign-local-admin
2/ If you are locked out locally and cannot elevate anything): use Windows Recovery/Safe Mode to regain a local admin, then re-add your account
net localgroup administrators /add "AzureAD\******@fbcnm-nj.org"
(That AzureAD\UPN format is commonly used on Entra-joined devices; you must run it from an elevated terminal.)
A Microsoft Q&A thread describing the “lost admin rights / only No button” symptom confirms Safe Mode can surface the built-in Administrator so you can recover access, fyi: https://learn.microsoft.com/en-us/answers/questions/3823709/lost-admin-access-on-my-own-laptop-after-renaming
Moreover, in case you don’t see an Administrator account in Safe Mode:
From WinRE → Advanced options → Command Prompt, you can enable the built-in Administrator and set a password (then reboot and sign in as Administrator). Many community fixes follow this pattern for the “UAC has only No” situation.
If there are any lingering questions or if you require further clarification regarding to this ticket, please feel free to let me know. Would appreciate it if you find my response helpful and "Accept the Answer" 😊
Regards!
Kate.