Solved

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

Posted on 2008-06-25
7
1,934 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
McAfee 8.8 include subfolders not to scan 4 75
dma locker 3 query 7 166
Avast install stuck on virtual machine 3 118
Twitching screen 11 75
PREFACE The purpose of this guide is to explain how to manually move a SEP client to a different client group by performing steps on the client-side. These steps may prove particularly useful because they allow the client to move after it has alrea…
PREFACE The purpose of this guide is to provide information to successfully add specific IIS 7.0 role services for the Symantec Endpoint Protection Manager (SEPM) to function properly when installed on Windows 2008. AUDIENCE Information Technol…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now