Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Script help: Backing up Outlook Express account in Registry

Featured Replies

Hello all !

Outlook Express store all Email Account in this key:

HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Accounts

Could anyone help me to do a little script wich backup only the "numeric sub keys" and excluding the others sub keys (listed from... \Accounts)

SubKeys to backup

Internet Account Manager\Accounts\00000001

Internet Account Manager\Accounts\00000002

Internet Account Manager\Accounts\00000003

...

SubKeys to exclude

Internet Account Manager\Accounts\Active Directory GC

Internet Account Manager\Accounts\Bigfoot

Internet Account Manager\Accounts\VeriSign

Internet Account Manager\Accounts\WhoWhere

I suppose that could be done with a batch using "for /f" but I don't know how to use this this famous for /f command lol

"REGEDIT /e "OE_Acc.reg" "HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager\Accounts"

Wich obviously store all sub keys :(

Any help would be veeery appreciated :whistle:


This is suprisingly not as simple a task to do as you'd perhaps think!

Try this quick attempt and see how it goes:

OEAccBak.cmd

@Echo off&Setlocal
Set "_=HKCU\Software\Microsoft\Internet Account Manager\Accounts"&Set "$=0"
>OE_Acc.reg (Echo:REGEDIT4&Echo:)
For /f "delims=" %%# In ('Reg query "%_%"^|Findstr/i \\accounts\\0000') Do (
Call :S_ "%%#")
For /l %%_ In (1,1,%$%) Do Find /v "REGEDIT4"<$%%_#.log>>OE_Acc.reg
Del /q $*#.log
Goto :Eof
:S_
Set/a "$+=1"
Regedit/a $%$%#.log %1

  • Author

Thanks a lot Yzöwl :thumbup

Tested, and it works perfectly !

This script does exactly what I was looking for :D

Great script for backing up OE account quickly !

Thanks thanks and many thanks again :)

  • 2 months later...
This is suprisingly not as simple a task to do as you'd perhaps think!

Try this quick attempt and see how it goes:

OEAccBak.cmd

@Echo off&Setlocal
Set "_=HKCU\Software\Microsoft\Internet Account Manager\Accounts"&Set "$=0"
>OE_Acc.reg (Echo:REGEDIT4&Echo:)
For /f "delims=" %%# In ('Reg query "%_%"^|Findstr/i \\accounts\\0000') Do (
Call :S_ "%%#")
For /l %%_ In (1,1,%$%) Do Find /v "REGEDIT4"<$%%_#.log>>OE_Acc.reg
Del /q $*#.log
Goto :Eof
:S_
Set/a "$+=1"
Regedit/a $%$%#.log %1

Is there a way to make a script to restore the mail accounts after effecting a fresh installation please?

Edited by targa

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.