Jump to content

Creating an Remove Mailbox Script


Recommended Posts

Ok I need someone with the program skils to

Search al the keys and subkeys under

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Default Outlook Profile

Then when it finds the key with the value delete that KEY.

If some kan me out with this I will give all the other information to create a loginscripts that creates the outlook profiles delete all additional mailboxes and add the mailboxes specified.

Please assist to make this perfect.

Link to comment
Share on other sites


Search al the keys and subkeys under

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Default Outlook Profile

Then when it finds the key with the value delete that KEY.

Search within this key for what subkey? and for what value?
Link to comment
Share on other sites

So Datamex - has a value in it that is "Default Outlook Profile"? which has a value that is the key {ddfc7.....} that you want to look for a certain value in the semi random value names and then delete {ddfc7.....}

Link to comment
Share on other sites

So Datamex - has a value in it that is "Default Outlook Profile"? which has a value that is the key {ddfc7.....} that you want to look for a certain value in the semi random value names and then delete {ddfc7.....}

No where you See Datamex you should Read "Default Outlook Profile" the screens are wrong

Under Default Outlook Profile you see als these wierd keys. In the keys could be the value with the user. The exe should search all keys under Default Outlook Profile and delete the One which has a part of that value

.....

Edited by jeremyotten
Link to comment
Share on other sites

A few questions...

Have you decided now that you want an exe? Your subject title states script!

Since you have not provided us with much 'real' information

  • For which OS is this required?
  • How are you going to pass the search string to any 'script/exe'?
  • Is the value data format going to be the same as that in your 'unreal' screenshots?
  • Can profile names contain spaces, and if so will that change the value data format for the search string?
  • Will this 'script/exe' be run locally by a user with admin/sufficient permissions to do so normally?

Are you aware that there are already methods for deploying Outlook Profiles?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...