Posted On March 31, 2019

Windows-clean-up.cmd

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Windows-clean-up.cmd

——————————
Clear out TEMP files on a regular basis – this is best done at startup when no applications are running. To delete all files in all subfolders of C:\temp\ but leave the folder structure intact:
DEL /F /S /Q %TEMP%
——————-

shutdown.cmd
—————————————————
net stop “Microsoft Exchange Internet Mail Service”
net stop “Microsoft FTP Service”
net stop “Some other Service”
SHUTDOWN /t:25 /r
—————————————————-

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Transfer Domain Controller Roles (Legacy Commands)

# Simple commands: netdom query fsmo ntdsutil roles connections connect to server SRVI-DC01 q transfer…

A Case for Graylog 4

Overview: A practical real-world application to aggregate logs would be Graylog. Its current incarnation is…

Increase the Disk Timeout On Windows Servers

Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\disk]"TimeOutValue"=dword:0000003cChange timeout value to 10 minutes:"TimeOutValue"=dword:00000258