Posts

Showing posts from December, 2011

Start and stop IIS, SMTP, FTP from command line,

REM STOP IIS, FTP, SMTP,... via the command line batch file ECHO -------------------------------- ECHO Stop smtp service net stop smtpsvc ECHO -------------------------------- ECHO Stop ftp service net stop msftpsvc ECHO -------------------------------- ECHO Stop WWW publishing service net stop w3svc ECHO -------------------------------- ECHO Stop IIS Administration Service net stop iisadmin /y REM START IIS, FTP, SMTP,... via the command line batch file ECHO -------------------------------- ECHO Start IIS administration service net start iisadmin ECHO -------------------------------- ECHO WWW publishing service net start w3svc ECHO -------------------------------- ECHO Start ftp service net start msftpsvc ECHO -------------------------------- ECHO Start smtp service net start smtpsvc

How to prevent a user from running Task Scheduler in Windows

Prevent users from adding new tasks or deleting tasks in Task Scheduler by modifying local policy settings Note   The following procedure only applies to Windows XP Professional, Windows Server 2000, or Windows Server 2003. To do this in Windows XP Home edition, see the "Prevent users from adding new tasks or deleting tasks in Task Scheduler by modifying registry settings" section of this article. Log on as Administrator to the computer where you want to modify the Local Policy settings. Click  Start , and then click  Run . In the  Open  box, type  gpedit.msc  , and then click  OK . In the left pane of the console, expand the  Computer configuration  node. Expand  Administrative Templates , and then expand  Windows Components . Click  Task Scheduler . In the Task Scheduler pane, do the following: Double-click  Prevent Task Run or End . Click  Enabled , and then click  OK . Double-click  P...