Changing the Windows computer name

Changing the Windows computer name







Article Summary: This article provides information on how to change the Windows computer name in Windows Server Core using Sconfig and Windows PowerShell



Solution:

Use the following steps to change the computer name using Server Configuration on a workgroup or standalone server running Windows Server Core.

1. Type Sconfig and press Enter in the Command Prompt window to open Server Configuration.

2. Type 2 and press Enter to continue. Type the new computer name and press Enter to change the computer name.



3. Click Yes to restart the computer on Restart.




Use the following steps to change the computer name using Server Configuration on a domain joined server running Windows Server Core.

1. Type Sconfig and press Enter in the Command Prompt window to open Server Configuration.

2. Type 2 and press Enter to continue. Type the new computer name and press Enter to change the computer name.



3. Type the domain Administrator password and press Enter to continue.



4. Click Yes to restart the computer on Restart.



Use the following steps to change the computer name using Windows PowerShell on a workgroup or standalone server running Windows Server Core.

1. Type Start PowerShell and press Enter in the Command Prompt window to start Windows PowerShell.

2. Type Rename-Computer -NewName CN1 -LocalCredential WS\Administrator -PassThru and press Enter to change the computer name. Replace CN1 with the name of the computer and WS with the current name of the computer.

3. Type the local Administrator password and click OK to complete the change.



4. Type shutdown -r -t 0 to reboot the server.

Use the following steps to change the computer name using Windows PowerShell on a domain joined server running Windows Server Core.

1. Type Start PowerShell and press Enter in the Command Prompt window to start Windows PowerShell.

2. Type Rename-Computer -NewName CN1 -DomainCredential vdomain\Administrator -PassThru and press Enter to change the computer name. Replace CN1 with the name of the computer and vdomain with the domain name.

3. Type the domain Administrator password and click OK to complete the change.



4. Type shutdown -r -t 0 to reboot the server.

Additional Information:

This information applies to Windows Server 2012 and Windows Server 2012 R2.

Additional information about the Windows PowerShell command -NewName can be found on TechNet.


Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.

문서 ID: HOW10252

최종 수정일: 08/28/2014 02:29 PM


이 문서 평가하기

정확함
유용함
이해하기 쉬운
이 문서가 도움이 되셨나요?
지원 미지원
피드백을 보내 주십시오.
의견에는 <>()\와 같은 특수 문자를 사용할 수 없습니다.
죄송합니다. 현재 피드백 시스템은 사용하실 수 없습니다. 잠시 후에 다시 시도하십시오.

피드백을 보내주셔서 감사합니다.