Solved

How can I delete Extend.dat flle from all the compters simultaneously?

Posted on 2008-06-25
7
1,939 Views
Last Modified: 2013-11-22
Hi,

I'm planning to remove delete Extend.dat file from all my networked computers,as I'm facing problem with MS-Outlook. Is there any script/batch file to accomplish this task?

Many thanks.

BYE

0
Comment
Question by:NARENDRA_CHHATTANI
  • 2
  • 2
7 Comments
 
LVL 6

Accepted Solution

by:
kosmoraios earned 250 total points
ID: 21870570
You could add a line to your logon script:

del "%appdata%\microsoft\outlook\extend.dat"

Or you could use a batch file, as below, by adding all the machine names to a file called computerlist.txt. (batch script borrowed from previous answer number 23001520)


@echo off
for /F %%G in (computerlist.txt) do (
 for /F "tokens=* usebackq" %%H in (`dir "\\%%G\c$\documents and settings" /A:D /B`) do (
  del "\\%%G\c$\documents and settings\%%H\application data\microsoft\outlook\extend.dat" 2>NUL
 )
)

Open in new window

0
 

Author Comment

by:NARENDRA_CHHATTANI
ID: 21878415
Thanks I'll give a try to it an dlet u know then.


Bye
0
 
LVL 1

Assisted Solution

by:Relentim
Relentim earned 250 total points
ID: 21961759
I believe 'extend.dat' lives in the other 'Application Data' folder in 'Local Settings'.

I used this script successfully, deleting it from both, just in case.

del "%appdata%\microsoft\outlook\extend.dat"
del "%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook\extend.dat"

Open in new window

0
 

Author Comment

by:NARENDRA_CHHATTANI
ID: 21968862
Thanks a lot. I accept this as a solution


0
 
LVL 6

Expert Comment

by:kosmoraios
ID: 22402333
I believe credit should at least be split, as I provided the script and Relentim corrected my path.
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Remove and unencrypt files and folders infected with Crypto virus 20 146
mitigations for web fraud 11 114
Microsoft scam computer 10 76
Windows Defender Accessing Excluded Drives 5 71
Some site administrators might be considering how to filter incoming traffic to a site by identifying the domains or networks of the traffic source, in the same way that a spam filter does on an email server, such as blocking all emails sent from th…
OVERVIEW This guide provides information on the process performed when the Symantec Endpoint Protection (SEP) client checks in with the Symantec Endpoint Protection Manager (SEPM). AUDIENCE Information Technology personnel responsible for suppo…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question