Every now and again I log into a Windows Server 2003 box with a remote desktop connection and delete one small file. When I do this, the Deleting... dialog box appears and remains on the screen for well over a minute.

After the dialog box disappears, if I delete another small file, the Deleting... dialog box appears then disappears quickly.

Why does it take so long to delete the first file after logging into a Windows Server 2003 box with a remote desktop connection?

Is there a trick to speeding it up?

link|improve this question

Are you deleting the file from the remote computer or is it on a network share? – ta.speot.is May 12 '10 at 3:31
The file is on the Windows Server 2003 box's local drive. – Stacey Richards May 12 '10 at 6:16
feedback

2 Answers

up vote 1 down vote accepted

Empty the recycle bin. When it's full windows needs to scan the entire bin for the oldest items to delete when adding a new item.

link|improve this answer
Thanks Chris, massive difference! – Stacey Richards May 12 '10 at 6:13
feedback

I find it faster to delete from a command prompt, especially when deleting many files.

For example, to delete all file in a directory and subdirectories

del /S /F *.*
link|improve this answer
You can insert star.star if you format the line as code. Put 4 spaces at the start of the line or select the text and use the code button in the toolbar. (You can't however do that in a comment as far as I know.) – Wayne Johnston May 12 '10 at 3:43
thanks, fixed that now. – bryan May 12 '10 at 3:47
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.