How to batch change computer names

jacobccjude 365 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 Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,893 questions
Microsoft Configuration Manager
{count} votes

Accepted answer
  1. Marcin Policht 23,775 Reputation points MVP
    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 34,021 Reputation points Microsoft Vendor
    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.