Get the App
SLTechnology News&Howtos  ›  Development  › 

How to realize the batch processing of modifying system user name

Shulou Source: shulou.com Published: 2022-06-03 08:16:16 11月15日 Update

This article mainly introduces how to modify the system user name batch processing, the article is very detailed, has a certain reference value, interested friends must read it!

The code is as follows:

@ echo off echo. The following echo.~ shows all the user names of the current machine ~ echo. Net user echo. Set / p user= Please enter a different user name to change: set / p newuser= Please enter a new name: wmic useraccount where name='%user%' call Rename% newuser% echo. Echo. Echo change completed! 2 seconds later exit ping 127.255.255.255-n 1-w 2000 > nul cls above is all the contents of this article "how to modify the system user name batch processing", thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: User name system content article input code value interest name buddy partner account name more machine knowledge industry information information channel channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Redmi Docker MySQL macOS