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

PowerShell: Detecting Windows Antivirus

One of the initial tasks of a Windows user is to determine whether a computer…

Applying Quarterly Updates to MapMarker and TomTom Points

Begin by downloading the MapMarker update and TomTom point update from Pitney Bowes. Once the…

PowerShell: Query Google Account Using GAM

$emailAddress='[email protected]' $field='accounts:last_login_time' function getGamUser{ param( $emailAddress, $field ) $result=try{gam report users user $emailAddress}catch{} if($result){ $headers=$result[0]…