NT Console Service Control "net service"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

Restart IIS and related services from msdos with net command:

 net stop iisadmin      <- stops iis and related services, usually including
                          w3svc, smtpsvc, msftpsvc, etc...

Starting them up

 net start w3svc        <- will also start iisadmin
 net start smtpsvc      <- smtp service

Other useful tips:

 mode con lines=50      <- make dos window larger (using legacy ansisys cmd)
 net view               <- see all netbios workstations with sharing
 net view \\workstation <- see shares on a machine

NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP | HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION | SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]