Hi Achyutha Rao Sathvick
Thanks for all the details so clearly that helps a ton. So, the short version is: what you’re hitting is actually expected behavior in newer builds of Windows Server, including 2025. Microsoft has tightened up remote access with local accounts over WinRM for security reasons. Even if you’ve got the right password, local Administrator accounts are often blocked from remote PowerShell sessions unless you explicitly tweak policies. That “Access is denied” is basically UAC remote restrictions kicking in.
A couple of things worth trying:
- Use a domain account instead of local admin if you’ve got Active Directory in play that’s the cleanest way.
- If you’re stuck with local accounts, double‑check that LocalAccountTokenFilterPolicy is set to
1(you’ve done that, good), but also confirm that the account is in the Remote Management Users group on SERVER‑B. - Another workaround is enabling CredSSP authentication, though it’s not always recommended for production because of delegation risks.
- Finally, if you want to keep using local admin, you may need to adjust UAC remote restrictions via Group Policy or registry, but again weigh the security trade‑offs carefully.
From what I’ve seen, this isn’t a bug in Server 2025, it’s more of a “by design” hardening change. Microsoft is pushing folks toward domain accounts or managed identities instead of local admin remoting. If you want to validate, you can spin up a quick test VM with a domain join and you’ll see the remoting works fine.
Hope that clears things up. If this explanation helps you move forward, please go ahead and hit **“**Accept Answer” so we know it solved your issue. If you need more information, feel free to leave a message. We are happy to help!