Intune - Disable Computer Renaming

Ahmed Alshatawi 235 Reputation points
2025-01-27T18:40:31.15+00:00

Hello!

The naming convention in deployment profile set to "Company-%SERIAL%". However users are still able to rename their devices. Is there a policy / config profile in Intune to prevent / block users from renaming Autopilot Windows devices from the System> About > Rename this PC and from Company Portal even if the user has administrative rights? Thanks!

Microsoft Security Windows Autopilot
Microsoft Security Intune Other
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 53,981 Reputation points Microsoft External Staff
    2025-01-28T02:58:56.1066667+00:00

    @Ahmed Alshatawi •, Thanks for posting in Q&A. Based on my researching, there is no related policy in Intune can prevent users from changing hostnames on windows. when it is admin

    Also, just as Rahul mentioned the rename action changes the device name that the user can see in the Company Portal. It does not change the local device name, only the name in the Company Portal. Therefore, it will not rename the device in the Intune portal.

    For your scenario, I have an idea. We can use remediation script, detect the device which the name is not met and rename it via script.

    https://learn.microsoft.com/en-us/mem/intune/fundamentals/remediations

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.