아무도 안계시나요? ㅠㅠ 기본인 pc이름바꾸는 cmd도 안되는데 문제가 뭘까요 ;;
글쓴이: xyccf777 / 작성시간: 수, 2021/09/15 - 12:29오후
C:\Users\t19722>WMIC computersystem where caption="HELPDESK-LYJ" rename "HELPDESK-KIS"
(\\HELPDESK-LYJ\ROOT\CIMV2:Win32_ComputerSystem.Name="HELPDESK-LYJ")->rename() 실행 중
메서드를 실행했습니다.
Out 매개 변수:
instance of __PARAMETERS
{
ReturnValue = 2697;
};
C:\Users\t19722>
이렇게 뜨면서 안됩니다.
Forums:
https://codeandkeep.com
https://codeandkeep.com/Rename-Computer-With-WMI/
2697 - Computer account could
2697 - Computer account could not be found
This one is interesting as it is a network error. You can fix this be rebooting and trying again.
This seems to only be a problem in a domain environment, and only occurs if you have already successfully renamed the computer without restarting the machine.
Your domain controllers update the computer object name as soon as this command is run successfully. If you try to run it again before rebooting, it will look in Active Directory for the ‘old’ name and not find it. After a reboot, your machine will now have the matching name to the one in Active Directory, and you can try again.
댓글 달기