且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Windows常用命令

更新时间:2022-09-16 11:17:46

Set pagefile Path/Size:


below is the command for setting to system managed if anyone wants to use

WMIC PAGEFILESET Set initialsize=0,maximumsize=0


below is the command for setting to custom if anyone wants to use

wmic PageFileSet create name="E:\\pagefile.sys",InitialSize="1024",MaximumSize="1024"
wmic PageFileSet where "name='C:\\pagefile.sys'" delete


rename administrator

wmic USERACCOUNT where name="Administrator" set FullName="admin"


rename user


wmic useraccount where "name='admin" call Rename admin00


tsm client slient installation


http://adsm.org/forum/showthread.php?19089-TSM-Client-Silent-Install-script










本文转自 安安安安森  51CTO博客,原文链接:http://blog.51cto.com/smallc/1542696,如需转载请自行联系原作者