How to batch change computer names

jacobccjude 445 Reputation points
2024-04-05T20:14:10.3333333+00:00

We want to batch change computer names after Windows autopilot. Can we push a script to do this via Configuration Manager or Intune?

Microsoft Security Intune Configuration
Microsoft Security Intune Configuration Manager Other
{count} votes

Accepted answer
  1. Marcin Policht 49,640 Reputation points MVP Volunteer Moderator
    2024-04-05T21:57:50.15+00:00

    Make it part of Autopilot - more at https://oofhours.com/2023/10/26/renaming-autopilot-deployed-devices/#:~:text=It%20depends%3A,change%20the%20name%20and%20reboot.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Simon Ren-MSFT 40,341 Reputation points Microsoft External Staff
    2024-04-08T02:27:41.8733333+00:00

    Hi,

    Thank you for posting in Microsoft Q&A forum.

    Yes, we can push script to bulk rename computer in Configuration Manage or Intune. For Configuration Manage, please refer to:

    SCCM – PowerShell, VBScript – Name Computer in Task Sequence

    Automate Computer Name during OSD in ConfigMgr 2012 with PowerShell

    We can also refer to below articles to bulk rename computer via Intune:

    How to rename Windows 10 devices in Intune using PowerShell

    Renaming Windows Devices in Intune

    Bulk rename devices

    Thanks for your time. Have a nice day!

    Best regards,

    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.

    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.

    0 comments No comments

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.