Remove PST files from Outlook 2003 or 2007 profile

K

kbfixit

Our Sys Admins are trying to come up with a way to remove a PST file
from an Outlook profile. We have a way to batch a login script in
Active Directory so that we can delete the PST file from the user's
PC, but no way to stop the inevitable error message when Outlook can't
find the file(s) at next start-up.

Ideally, we would like to have a script or command that removes any
PST from the Outlook profile that we could batch at login, followed by
our PST delete script.

Any way to do this? There was a blog from 2006 (http://
jeremiahcook.blogspot.com/2006/08/how-to-remove-psts-from-
outlook.html) that referenced a script removing the entries from the
registry, but the referenced link no longer works.

Any help/ advice short of manually editing the Outlook profile or
deleting/ recreating the Outlook profile would be appreciated.

Thanks!

- kb
 
D

Diane Poremsky [MVP]

Maybe an update via a PRF - use it to replace the current profile with a
new, no pst one. Otherwise you'll need a script to walk the profile keys
looking for psts.

--
Diane Poremsky [MVP - Outlook]





EMO - a weekly newsletter about Outlook and Exchange:
(e-mail address removed)

You can access this newsgroup by visiting
http://www.microsoft.com/office/community/en-us/default.mspx or point your
newsreader to msnews.microsoft.com.
 
K

KB

Maybe an update via a PRF - use it to replace the current profile with a
new, no pst one. Otherwise you'll need a script to walk the profile keys
looking for psts.

--
Diane Poremsky [MVP - Outlook]
Outlook Tips:http://www.outlook-tips.net/
Outlook & Exchange Solutions Center:http://www.slipstick.com

Outlook Tips by email:
(e-mail address removed)

EMO - a weekly newsletter about Outlook and Exchange:
(e-mail address removed)

You can access this newsgroup by visitinghttp://www.microsoft.com/office/community/en-us/default.mspxor point your
newsreader to msnews.microsoft.com.


Our Sys Admins are trying to come up with a way to remove a PST file
from an Outlook profile.   We have a way to batch a login script in
Active Directory so that we can delete the PST file from the user's
PC, but no way to stop the inevitable error message when Outlook can't
find the file(s) at next start-up.
Ideally, we would like to have a script or command that removes any
PST from the Outlook profile that we could batch at login, followed by
our PST delete script.
Any way to do this? There was a blog from 2006
(http://jeremiahcook.blogspot.com/2006/08/how-to-remove-psts-from-outl....
that referenced a script removing the entries from the
registry, but the referenced link no longer works.
Any help/ advice short of manually editing the Outlook profile or
deleting/ recreating the Outlook profile would be appreciated.

- kb

Replacing the profile is not a road we want to go down. Scripting
against PST entries in the registry sounds right, but we've looked in
the registry and it isn't very clear where PSTs are referenced. Any
pointers on how to identify PST files in the registry?

- kb
 
D

Diane Poremsky [MVP]

there are two keys per pst. This page has information about the keys you
need to look for -
http://www.outlook-tips.net/howto/ghosts.htm


--
Diane Poremsky [MVP - Outlook]





EMO - a weekly newsletter about Outlook and Exchange:
(e-mail address removed)

You can access this newsgroup by visiting
http://www.microsoft.com/office/community/en-us/default.mspx or point your
newsreader to msnews.microsoft.com.


KB said:
Maybe an update via a PRF - use it to replace the current profile with a
new, no pst one. Otherwise you'll need a script to walk the profile keys
looking for psts.

--
Diane Poremsky [MVP - Outlook]
Outlook Tips:http://www.outlook-tips.net/
Outlook & Exchange Solutions Center:http://www.slipstick.com

Outlook Tips by email:
(e-mail address removed)

EMO - a weekly newsletter about Outlook and Exchange:
(e-mail address removed)

You can access this newsgroup by
visitinghttp://www.microsoft.com/office/community/en-us/default.mspxor
point your
newsreader to msnews.microsoft.com.


Our Sys Admins are trying to come up with a way to remove a PST file
from an Outlook profile. We have a way to batch a login script in
Active Directory so that we can delete the PST file from the user's
PC, but no way to stop the inevitable error message when Outlook can't
find the file(s) at next start-up.
Ideally, we would like to have a script or command that removes any
PST from the Outlook profile that we could batch at login, followed by
our PST delete script.
Any way to do this? There was a blog from 2006
(http://jeremiahcook.blogspot.com/2006/08/how-to-remove-psts-from-outl...
that referenced a script removing the entries from the
registry, but the referenced link no longer works.
Any help/ advice short of manually editing the Outlook profile or
deleting/ recreating the Outlook profile would be appreciated.

- kb

Replacing the profile is not a road we want to go down. Scripting
against PST entries in the registry sounds right, but we've looked in
the registry and it isn't very clear where PSTs are referenced. Any
pointers on how to identify PST files in the registry?

- kb
 
K

KB

there are two keys per pst. This page has information about the keys you
need to look for -http://www.outlook-tips.net/howto/ghosts.htm

--
Diane Poremsky [MVP - Outlook]
Outlook Tips:http://www.outlook-tips.net/
Outlook & Exchange Solutions Center:http://www.slipstick.com

Outlook Tips by email:
(e-mail address removed)

EMO - a weekly newsletter about Outlook and Exchange:
(e-mail address removed)

You can access this newsgroup by visitinghttp://www.microsoft.com/office/community/en-us/default.mspxor point your
newsreader to msnews.microsoft.com.


Maybe an update via a PRF - use it to replace the current profile witha
new, no pst one. Otherwise you'll need a script to walk the profile keys
looking for psts.
--
Diane Poremsky [MVP - Outlook]
Outlook Tips:http://www.outlook-tips.net/
Outlook & Exchange Solutions Center:http://www.slipstick.com
Outlook Tips by email:
(e-mail address removed)
EMO - a weekly newsletter about Outlook and Exchange:
(e-mail address removed)
You can access this newsgroup by
visitinghttp://www.microsoft.com/office/community/en-us/default.mspxor
point your
newsreader to msnews.microsoft.com.

Our Sys Admins are trying to come up with a way to remove a PST file
from an Outlook profile. We have a way to batch a login script in
Active Directory so that we can delete the PST file from the user's
PC, but no way to stop the inevitable error message when Outlook can't
find the file(s) at next start-up.
Ideally, we would like to have a script or command that removes any
PST from the Outlook profile that we could batch at login, followed by
our PST delete script.
Any way to do this? There was a blog from 2006
(http://jeremiahcook.blogspot.com/2006/08/how-to-remove-psts-from-outl...
that referenced a script removing the entries from the
registry, but the referenced link no longer works.
Any help/ advice short of manually editing the Outlook profile or
deleting/ recreating the Outlook profile would be appreciated.
Thanks!
- kb
Replacing the profile is not a road we want to go down.  Scripting
against PST entries in the registry sounds right, but we've looked in
the registry and it isn't very clear where PSTs are referenced.   Any
pointers on how to identify PST files in the registry?

as it turns out, it appears we had a developer on staff who provided
us with a solution. I appreciate the info, tho!

- kb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top