RSS

Monthly Archives: November 2013

Clear All Windows 2008 R2 event logs!

If you want to clear the event logs in a Windows Server system, you can fire up Event Viewer, browse to the desired log and from the Actions menu select Clear Log….
But if you want to clear all the System and Application logs at once, you’d better use the ‘wevtutil’ command-line utility Microsoft offers. A Windows PowerShell command like this will do the job.

Run PowerShell as Administrator and enter the below cmd.

wevtutil el | foreach { wevtutil cl $_ }

Advertisements
 
Leave a comment

Posted by on November 30, 2013 in Windows

 

Tags: , , , , , , ,

How To Delete A File or Folder That Won’t Delete?

I am going to explain How to delete a file or folder that won’t delete.

1. Open the run from start menu and type the “cmd” Without quote.
2. Then type the path of the folder in cmd prompt (ex.”cd /d C:\Users\\Desktop\” without quote.
3. Next we need to know the folder name so type the following cmd in cmd prompt “dir /x” without quote.
4. Then it will show a list of folders names and files names.
5. Then type a following cmd in cmd prompt “rmdir /q /s foldername” without quote.
6. Press enter the folder will be deleted.

Note:- Please follow the screenshot for your understand.

Screenshot

How to delete a file or folder that won’t delete

 
Leave a comment

Posted by on November 19, 2013 in Windows

 

Tags: , , , , , ,

 
%d bloggers like this: