windows commands - h11h99 - 51CTO技术博客-领先的IT技术...

来源:百度文库 编辑:神马文学网 时间:2024/04/27 19:53:07
windows commands
change command  prompt color :color , color 80,color fc
net user
net user h11h99 h11h99 /add  --add a user
net localgroup administrators /add  --add a user to the administrators
net user h11h99 h22h88  change the user's password to h22h88
view the LAN's machinae name:net view net view\\192.168.1.101
view all services on this server :net start
net start mssqlserver,net start oracleserviceh11h99
net stop mssqlserver net stop oracleserviceh11h99
net share h11h99=d:\h11h99
NET COMMANDS
NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]
we can also use other command,for example sc
DESCRIPTION:
SC is a command line program used for communicating with the
NT Service Controller and services.
USAGE:
sc [command] [service name] ...
The option has the form "\\ServerName"
Further help on commands can be obtained by typing: "sc [command]"
Commands:
query-----------Queries the status for a service, or
enumerates the status for types of services.
queryex---------Queries the extended status for a service, or
enumerates the status for types of services.
start-----------Starts a service.
pause-----------Sends a PAUSE control request to a service.
interrogate-----Sends an INTERROGATE control request to a service.
continue--------Sends a CONTINUE control request to a service.
stop------------Sends a STOP request to a service.
config----------Changes the configuration of a service (persistant).
description-----Changes the description of a service.
failure---------Changes the actions taken by a service upon failure.
qc--------------Queries the configuration information for a service.
qdescription----Queries the description for a service.
qfailure--------Queries the actions taken by a service upon failure.
delete----------Deletes a service (from the registry).
create----------Creates a service. (adds it to the registry).
control---------Sends a control to a service.
sdshow----------Displays a service's security descriptor.
sdset-----------Sets a service's security descriptor.
GetDisplayName--Gets the DisplayName for a service.
GetKeyName------Gets the ServiceKeyName for a service.
EnumDepend------Enumerates Service Dependencies.
The following commands don't require a service name:
sc
windows commands - h11h99 - 51CTO技术博客-领先的IT技术... Windows 蓝屏代码详解 - 周海鹏微软技术社区 - 51CTO技术博客-领先的IT技术博客 Windows 蓝屏代码详解 - 周海鹏微软技术社区 - 51CTO技术博客-领先的IT技术博客 完全用Linux工作,摈弃Windows - 麦克风 - 51CTO技术博客-领先的IT技... Windows server 2003 更改域名称 - yangming.com - 51CTO技术博客-领先的IT技术博客 最不称职网络管理员 - 周海鹏微软技术社区 - 51CTO技术博客-领先的IT技术博客 网络安全类IT认证考试指导 - 创世纪 - 51CTO技术博客-领先的IT技术博客 修改默认远程桌面登陆端口 - 凯旋博客 - 51CTO技术博客-领先的IT技术博客 一位网络工程师的终告 转贴 - 飞 - 51CTO技术博客-领先的IT技术博客 STP特性详解 - 不动的流星 - 51CTO技术博客-领先的IT技术博客 十分经典的批处理教程 - 老地方 - 51CTO技术博客-领先的IT技术博客 cisco学习的去向 - cxkong - 51CTO技术博客-领先的IT技术博客 常见数据库分页SQL语句 - 熔 岩 - 51CTO技术博客-领先的IT技术博客 Subversion1.4 apache2.2安装 - safe.cn - 51CTO技术博客-领先的IT技术博客 Solaris10下Nagios安装 - better - 51CTO技术博客-领先的IT技术博客 WinXP远程桌面_技巧 - lcw410 - 51CTO技术博客-领先的IT技术博客 常见数据库分页SQL语句 - 熔 岩 - 51CTO技术博客-领先的IT技术博客 什么是SSH? - beautymm - 51CTO技术博客-领先的IT技术博客 linux下单网卡设双置IP - 艺飞博客 - 51CTO技术博客-领先的IT技术博客 网工练习题(二) - 王达博客 - 51CTO技术博客-领先的IT技术博客 零成本解决电脑升级问题 - happy ending - 51CTO技术博客-领先的IT技... 子网的划分详解 - 菜鸟网管的blog - 51CTO技术博客-领先的IT技术博客 子网的划分详解 - 菜鸟网管的blog - 51CTO技术博客-领先的IT技术博客 管好你网站的“破窗” - 网络新势力 - 51CTO技术博客-领先的IT技术博客