• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 270
  • Last Modified:

Delete Outlook POP account HELP!!!!!!

I recently sent an image to Dell to have it deployed onto 200 new PC's on my network.  I neglected to check everything prior to approving the image, and I mistakenly left a POP account setup in Outlook, containing a load of emails from my Business account.  I need to setup a script to delete this from the computers, but I have no idea how!  It cannot only delete .pst files because we have some users that use Outlook and this would delete theirs......Please help!  Tell me there is a way....it will save me much embarassment!

2 Solutions
just run a script that has the basic 'del' dos command on all the PCs

del C:\folder\filename.pst

since it is an image, the file will be in the same place on all the PCs so the same command will work on all of them. No big deal.

if you are using multiple accounts on these computers then you can do it this way

del c:\documents and settings\Administrator\local settings\application data\microsoft\outlook\*.pst

You should have each user logging on with their own account onto these computers and not logging into the Administrator account anyways.  If this is on a domain then you'll need to do Administrator.local for the profile.  But any changes to the Administrator.local profile will not affect any user's settings providing that you didn't have all the users logged in as Administrator or as the same account that the POP account was created and used under on your Master Image machine.
>>if you are using multiple accounts on these computers then you can do it this way
it is on one particluar profile on an image sent out to 200 PCs so it will be in the exact same location on ever PC.  just run the del command with the path to the file and it will remove it.  run it as a startup script so the login account never even comes into play since noone will even be logged in.

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

jkelly2003Author Commented:
The problem is that the network is setup w/ Novell, so the image has one "shared" default profile every user will have this profile for their username in Docs and Settings.  So, that means that it will be tied to the same Outlook.pst file, throughout the network.  If I run that script, it will delete the existing users outlook accounts.  I thinking of looking at the size of an empty outlook.pst file, and then using size of the file as a criteria for deleting it.....I don't know.....this really sux!!  Thanks for the suggestions, Keep em coming!

From your description some if not all users have already begun using the image you sent out and the pst you had for your business email has already mixed with the users email.  PST's are databases that can only be manipulated inside of Outlook.  You can delete it entirely by a script, but you can't delete parts of it with a script.  If I'm mistaken and users havent already begun using your PST then you can write out the command to delete the pst (at the command line) into notepad.  (del C:\folder\filename.pst as mikeleebrla  suggested) and then change the .txt extension to .bat.  Then use the following directions to assign a login script to the users:  http://technet2.microsoft.com/WindowsServer/f/?en/library/84b5457b-1641-4707-a1f4-887b5f9471dd1033.mspx
just delete your profile from that computer
your profile resides on "c:\documents and settings" folder
If all users are on exchange then their mail is on the server and not on the PC.
If mail is stored on the PC, as in synchronised, then you may have an ost file in there.

Please check the size of the pst file in user's profile

If they are all exactly the same file size, a small size, a few KB, then you can bet that the users are not using the file.

The next step is as above, write a simple script and be done with the offending files.

Let me know how you get on

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now