Tuesday, July 17, 2012

Useful command

1. Run as
runas /user:mkalai [executable]

2. Start and stop remote service from command line

sc \\machine stop <service>
sc \\machine start <service>

Example
C:>net  start "Ariel Document Mailing Dispatch Services"
Y:\>sc \\cm-pp-mts01 start "Ariel Document Mailing Dispatch Services"
Y:\>sc \\cm-pp-mts01 stop "Ariel Document Mailing Dispatch Services"

3. Finding info about your PC
systeminfo

No comments:

Post a Comment