China Naming Network - Eight-character query< - Scripts or batches that use the computer serial number as the computer name.
Scripts or batches that use the computer serial number as the computer name.
@echo? leave
For what? /f? " delims= "? %%a? Are you online? (wmic? bios? Get? Serial number? /value’)? Do what? Settings? %% a> is empty.
Reggie? Supplement? "HKLM \ System \ Current Control Set \ Control \ Computer Name \ Active Computer Name"? /v? Computer name? /t? REG_SZ? /d? " %SerialNumber% "/f
Reggie? Supplement? "HKLM \ system \ current control set \ service \ Tcpip \ parameters"? /v? "NV people? Host name "? /t? REG_SZ? /d?" %SerialNumber% "/f
Reggie? Supplement? "HKLM \ system \ current control set \ service \ Tcpip \ parameters"? /v? Host name? /t? REG_SZ? /d? " %SerialNumber% "/f
discontinue