Jump to content

Identity Switch Cancelled


Recommended Posts

Loaded my OS from my Unattended DVD and now have a problem. Everytime I start Outlook I get an error popup that says. "Identity Switch Canceled. The current identity could not be changed because one of the applications was unable to switch. Close any open dialog boxes in other applications before trying again."

I found this Knowledge Base Article but i cant figure out what they are wanting me to do???

Please Help here is KB Microsoft Knowledge Base Article - 224463

here is my reg under identities...what do i add???

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Identities]
"Identity Ordinal"=dword:00000002
"Migrated5"=dword:00000001
"Last Username"=""
"Last User ID"="{00000000-0000-0000-0000-000000000000}"
"Identity Login"=dword:00098053

[HKEY_CURRENT_USER\Identities\{2E449F6D-D8EE-4283-A695-90B38A39DB97}]
"Username"="Main Identity"
"Identity Ordinal"=dword:00000001

[HKEY_CURRENT_USER\Identities\{2E449F6D-D8EE-4283-A695-90B38A39DB97}\Software]

[HKEY_CURRENT_USER\Identities\{2E449F6D-D8EE-4283-A695-90B38A39DB97}\Software\Microsoft]

[HKEY_CURRENT_USER\Identities\{2E449F6D-D8EE-4283-A695-90B38A39DB97}\Software\Microsoft\Outlook Express]

[HKEY_CURRENT_USER\Identities\{2E449F6D-D8EE-4283-A695-90B38A39DB97}\Software\Microsoft\Outlook Express.0]
"NOSplash"=dword:00000001

Link to comment
Share on other sites


It might have something to do with XP creating its own unique user identity number, which makes yours invalid. The user identity numbers applies to the registry and the storage folder in Application Data.

Link to comment
Share on other sites

  • 1 year later...

This is how I resolved this exact same problem for one of my users. He was getting this message everytime he started Outlook 2003 (not Outlook Express). I checked the identity number for his user account in the registry and found that it was *almost* correct in one place.

1. Start REGEDIT from the Run box.

2. Navigate to HKEY_CURRENT_USER\Identities

3. You should see a subkey under Identities, like this: {7E7DGDAF-79E4-4B7E-BFCB-04BB83E2A377}

4. Under this subkey you should find a string value called User ID. This value should be *exactly* the same as the afore-mentioned subkey name.

In my case, the User ID value was almost the same, except it didn't have the brackets on each end like this: { and } so I added those brackets, started Outlook and never saw the message again.

Link to comment
Share on other sites

  • 6 months later...

:D Old topic revived

rstryker said

Loaded my OS from my Unattended DVD and now have a problem. Everytime I start Outlook I get an error popup that says. "Identity Switch Canceled. The current identity could not be changed because one of the applications was unable to switch. Close any open dialog boxes in other applications before trying again."
Same problems with my unattended Nlited XP SP2 (Latest RyanVM & Xpize integrated)

This solutions works

Topic

Submitted by ghettochild

I know how to fix this, you go to regedit and delete the folder under 'identities'

which can be located under HKEY_CURRENT_USER\IDENTITIES\(FOLDER*).

Any solid solution that can be made by applying regtweaks?

Or any other solutions?

Link to comment
Share on other sites

Hi :)

This is how I bypass this problem, I've made à command file (batch) who:

- delete in registry "hkcu/Identities"

- start OExpress (for recreating automatically hkcu/identities/...)

- killing the task automatically msimn.exe (OE processus)

- and applying my regtweak for OE.

and that's it...

Here's the batch: outlook.cmd (name it whatever you want)

cmdow @ /HID

@echo off

set outlook="%SystemDrive%\"Program Files\Outlook Express""

REG DELETE "HKCU\Identities" /f

sleep 2

start "" "%outlook%\msimn.exe"

sleep 2

taskkill /F /IM msimn.exe

sleep 2

for /f "Tokens=5" %%i in ('REG QUERY HKCU\Identities /v "Default User ID"^|find "Default"') do set default_identity=%%i

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0" /v "Browser Bands" /t REG_BINARY /d 1100000004000000640000008002000064000000660000000200000016000000650000000102000064000000670000000900

000064000000 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0" /v "BrowserPos" /t REG_BINARY /d 2C0000000200000003000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8000000068000000800300007A020000 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0" /v "Expand Unread" /t REG_DWORD /d 00000001 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0" /v "Launch Inbox" /t REG_DWORD /d 00000001 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0" /v "Nav Pane Split" /t REG_DWORD /d 00000032 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0" /v "Nav Pane Width" /t REG_DWORD /d 00000306 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0" /v "Show Contacts" /t REG_DWORD /d 00000001 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0" /v "Show Deleted Messages" /t REG_DWORD /d 00000001 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0" /v "ShowStatus" /t REG_DWORD /d 00000001 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0" /v "ShowToolbarIEAK" /t REG_DWORD /d 00000001 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0" /v "Toolbar Icon Size" /t REG_DWORD /d 00000001 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0" /v "Toolbar Text" /t REG_DWORD /d 00000004 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0\Mail" /v "Accounts Checked" /t REG_DWORD /d 00000001 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0\Mail" /v "Block External Content" /t REG_DWORD /d 00000000 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0\Mail" /v "Check Mail on Startup" /t REG_DWORD /d 00000001 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0\Mail" /v "Safe Attachments" /t REG_DWORD /d 00000000 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0\Mail" /v "Secure Safe Attachments" /t REG_DWORD /d 00000001 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0\Mail" /v "SplitHorzPct" /t REG_DWORD /d 00000032 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0\Mail" /v "Warn on Mapi Send" /t REG_DWORD /d 00000001 /f

REG ADD "HKCU\Identities\%default_identity%\Software\Microsoft\Outlook Express\5.0\Mail" /v "Welcome Message" /t REG_DWORD /d 00000000 /f

exit

NOTE:

- sleep = sleep.exe (sleep for 'n' second; into the batch)

(root\$OEM$\$$\System32\sleep.exe)

- cmdow.exe for hiding the prompt command window.

(root\$OEM$\$$\System32\cmdow.exe)

I'm applying this batch during ROE (RunOnceEx) stage, but you can execute it with cmdlines.txt for example at T-12 (or whaterever you like).

Good luck ;)

sleep.zip

Link to comment
Share on other sites

  • 1 year later...

I know this is a old thread, but happens to be my problem.

I never used OE before and for a troubleshooting reason ( someones elses e-mail account), I was instructed to setup OE.

I got this error when I tried to run the program from the start menu.

The difference here is I have no "Account ID" within that folder with that overly very long number. I do have three other entries;

(Default)

Identity Ordinal

Username

Now what?

Edited by videobruce
Link to comment
Share on other sites

  • 3 weeks later...

I'm using Vista Ultimate, so OE is out of question. But this error message also bug me when I launch Outlook 2007!

This is what I do to fix the problem:

In the regedit, I have this:

HKEY_CURRENT_USER\IDENTITIES\

Last User ID

{00000000-0000-0000-0000-000000000000}

and a key like this below:

{082842C3-9154-4EC0-A83A-6CFF28F55636}

So, I copied the key value {082842C3-9154-4EC0-A83A-6CFF28F55636} and pasted it into the Last User ID.

Hooray, the Identity Switched Cancelled message never appears again.

:thumbup :thumbup :thumbup :thumbup :thumbup

Edited by jtjt00
Link to comment
Share on other sites

  • 1 year later...

Ladies and gentlemen, I have the solution.

Simply delete the {225941EA-40A5-411C-88F3-8905205C891A} key and outlook will recreate it. Problem solved.

Loaded my OS from my Unattended DVD and now have a problem. Everytime I start Outlook I get an error popup that says. "Identity Switch Canceled. The current identity could not be changed because one of the applications was unable to switch. Close any open dialog boxes in other applications before trying again."

I found this Knowledge Base Article but i cant figure out what they are wanting me to do???

Please Help here is KB Microsoft Knowledge Base Article - 224463

here is my reg under identities...what do i add???

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Identities]
"Identity Ordinal"=dword:00000002
"Migrated5"=dword:00000001
"Last Username"=""
"Last User ID"="{00000000-0000-0000-0000-000000000000}"
"Identity Login"=dword:00098053

[HKEY_CURRENT_USER\Identities\{2E449F6D-D8EE-4283-A695-90B38A39DB97}]
"Username"="Main Identity"
"Identity Ordinal"=dword:00000001

[HKEY_CURRENT_USER\Identities\{2E449F6D-D8EE-4283-A695-90B38A39DB97}\Software]

[HKEY_CURRENT_USER\Identities\{2E449F6D-D8EE-4283-A695-90B38A39DB97}\Software\Microsoft]

[HKEY_CURRENT_USER\Identities\{2E449F6D-D8EE-4283-A695-90B38A39DB97}\Software\Microsoft\Outlook Express]

[HKEY_CURRENT_USER\Identities\{2E449F6D-D8EE-4283-A695-90B38A39DB97}\Software\Microsoft\Outlook Express.0]
"NOSplash"=dword:00000001

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...