Microsoft Office 2013 Outlook errors due to it wants to connect to MS exchange

Every time I try to load Outlook 2013 it gives me an error: The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action and when I click on it, it keeps going in a loop. What to do to correct it will
not launch without exchange server and I have it. Any suggestions? And I download MS Exchange 2010 SP1x64 still nothing

Same issue here.  I have the Surface Pro and only one Outlook Exchange Server account will connect.  They other one gives the same Microsoft Exchange is unavailable error.  The funny part is that these are both work email accounts that connect
to the same server, but one works and the other does not.  I can ping the server no problem.  
I have spent probably a total of 15 hours on the phone with Microsoft Office CS.  There's 15 hours I will never get back.  To say they were useless would be an understatement.  Half the time they just took down the issues and then said I had
reached the wrong department and transferred me.  I got transferred 11 times on one phone call.  No one even tried to help.
So unless Microsoft can come up with a solution to this I am taking the Surface Pro back.  This is really disappointing.  I was really hoping that Microsoft could be an alternative the Apple Universe.  Seems like they chose gimickery over
functionality.  Windows 8 looks pretty and does some neat stuff, but sending and receiving emails is the most basic of the basics you expect from your PC.
If anyone has a solution from Microsoft please post it here.  

Similar Messages

  • Recieveing "OnUCAppointmentGetVisible" error in Outlook 2013 (64 bit) - "Custom UI Runtime Error in Lync Meeting Add-in for Microsoft Office 2013"

    Hi All,
    I originally posted this in the MS Support forums (http://answers.microsoft.com/en-us/office/forum/office_2013_release-outlook/recieveing-onucappointmentgetvisible-error-in/1a40eca2-8cd1-40f1-a92f-cb08f0af6b72), but was directed over here.
    I have recently upgraded an installation of Office 2010 to 2013 (both 64 bit) but am now receiving an error which says:
    Window Title - "Custom UI Runtime Error in Lync Meeting Add-in for Microsoft Office 2013"
    An error occured while calling the callback: "OnUCAppointmentGetVisible"
    This seem to happen when I initially open a calender entry, and when I close the entry (most only the first time I close the entry).
    I did have some developer tools installed for Office 2010 and VS 2010 which played around with Excel,2013 but I have now uninstalled these.
    In addition, BCM 2010 was installed (but for the time being has been uninstalled), but I don't think that is the culprit.
    The issue is being caused be an Outlook add-in. I have three COM add-in enabled, but the one causing the issue in the "Lync Meeting Add-in for Microsoft Office 2013".
    We are currently trialling Lync in a demo installation which is in a different domain to any of the Exchange accounts, but should this cause a problem? For the time being I have disable this add-in.
    Regards,
    Chris
    Chris

    Hi,
    Sorry for my misunderstanding. If the issue is determined to be caused by Lync Meeting Add-in, please remove this add-in from Outlook, then go to Control Panel to repair Office 2013 program. After repairing,
     this add-in would be automatically reinstalled. Please check whether the issue persists. About how to repair Office programs, please refer to:
    http://office.microsoft.com/en-us/outlook-help/repair-office-programs-HA010357402.aspx
    If the Lync Meeting Add-in is not automatically reinstalled, please try to manually add this add-in by the following steps:
    1. Starting Outlook 2013 as an Administrator (right click, run as Admin).
    2. Click File > Options > Add-ins, Manage Com Add-Ins Go... > Add..., C:\Program Files (x86)\Microsoft Office\Office15\UCAddin.dll, OK.
    3. Close Outlook and start it as a normal user.
    Regards,
    Winnie Liang
    TechNet Community Support

  • This copy of Microsoft Office 2013 cannot be used on a computer running Terminal Services" error message when you try to open the Click-to-Run version of an Office 2013 program or suite on a terminal server

    Hi All,
    I have Citrix VDI (Virtual Desktop Infrastructure) Implemented
    in my company and installed few Applications on App Server lets say.... MS Office 2013, filzialla, putty, etc...
    I assigned these apps to the users through CITRIX STUDIO, when I try to use these apps. on VDI everything is working fine only when i tried to open Word, Excel or Powerpoing, outlook it throws error as 
    ""This copy of Microsoft Office 2013 cannot be used on a computer running Terminal Services" error message when you try to open the Click-to-Run version of an Office 2013 program or suite on
    a terminal server"" and apps gets closed.
    Please help me on this ASAP.
    Thanks & Regards,
    Sachin Shinde

    Hi,
    As mentioned in ths article below, run for Office 365 products on to a Remote Desktop Session Host server is not supported. You can install Office products for Office 365 to a virtual desktop, but the virtual desktop must be assigned to a single user.
    http://technet.microsoft.com/en-us/library/jj219423(v=office.15).aspx
    Regards,
    Melon Chen
    TechNet Community Support

  • Microsoft office 2013 encountered an error during setup in Window 8.1

    Initially, I got microsoft office 2013 64bit standard version installed in window 8.1. However, it suddenly got errors when opening office, and closed the program automatically. Therefore, I uninstalled it, and tried to re-install office.
    However, I got the error "microsoft office 2013 encountered an error during setup" everytime when I try to install it.
    I tried 32-bit and 64 bit version, and tried to install in clean boot, deleted registry, and modified the folder name "Microsoft Help", but none of them works. 

    Make sure you completely uninstall previous versions of Office. There may be remnants left behind, even after you uninstall Office using the normal procedure. I recommend using the “Fix It” utility to uninstall Office 2013 completely. Please refer to this
    article: http://support.microsoft.com/kb/2739501/en-us you might also follow the manual steps provided on the same page.
    If you still having problems, re-registering the Windows Installer and checking permissions on the %TEMP% folder and the C:\Windows\Installer folder to make sure you have full-control. To re-register the Windows Installer run the following commands:
    msiexec /unregister
    msiexec /register

  • Microsoft office 2013 error when send as attachment stopped working

    microsoft office 2013 error when send as attachment stopped working please help me

    Please make sure you have already installed the latest update for office.What happens if you use another user account to log on this computer?
    In addition, a similar issue here is for your reference:
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-excel/excel-2013-crashes-every-time-sending-mail/8ddd32fe-138e-49d8-bda4-6558f440f726?page=2

  • Microsoft Office Customiziatoin Installer : Error during installation, file:///c:/Program Files (x86)/Microsoft Visual Studio Excel 2013, Windows 7 64 bit

    How do I get ride of the Microsoft Office Customization Installer  Error during installation, Name:  file:///c:/Program Files (x86)/Microsoft Visual Studio     From:  10.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto
    Downloading file: :///c:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto did not succeed
    Details: 
    Name: 
    From: file:///c:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto
    ************** Exception Text **************
    System.Deployment.Application.DeploymentDownloadException: Downloading file:///c:/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto did not succeed. ---> System.Net.WebException:
    Could not find file 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto'. ---> System.Net.WebException: Could not find file 'c:\Program Files (x86)\Microsoft Visual
    Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto'. ---> System.IO.FileNotFoundException: Could not find file 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto'.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
    Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
       at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
       at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
       --- End of inner exception stack trace ---
       at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
       at System.Net.FileWebRequest.GetResponseCallback(Object state)
       --- End of inner exception stack trace ---
       at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Net.FileWebRequest.GetResponse()
       at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
       --- End of inner exception stack trace ---
       at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)
       at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

    I discovered the cause of this problem. I had pointed my "My Documents" folder to a NAS drive that I had rather than my C drive. Apparently Photoshop was dependant on it being on the C dirve. When I  repointed this back to my C drive CS5 installed properly.

  • Office 2013 outlook (not responding) opening attachments over a WAN link

    Before I get to the question I'll give you some info about our arcitecture.
    We have 7 remote sites each with 5mb connections.
    5-10 computer at each site
    We are running exchange 2010 centrally from one server on a 20mb connection.
    All clients are running windows 7 64bit with office 2013
    We recetly upgraded from office 2003 to 2013 when this problem started.
    If a user clicks on an attachment from one of our remote sites, and if the attachment is larger than 150kb the outlook client displays (not responding) for up to two minutes.  If you wait long enough the attachment will open without error.  It
    doesnt matter if its a word docuemnt, PDF, JPG they all respond the same.  There are several active application add-ins running I have not tried to disable  any of them yet.
    Acrobat PDFMaker office com addin
    Lync meeting addin for microsoft office 2013
    microsoft exchange addin
    microsoft sharepoint server colleague import addin
    microsoft vba for outlook addin
    onenote notes about outlook items
    outlook social connector 2013
    symantec endpoint protection outlook addin
    I should also mention theres plenty of bandwidth free at both ends of the pipe.  Moving the same file size accross the network literally takes only takes a second or less.
    How can I go about troubleshootng this issue further?
    Has anyone else experieced this?
    What have you done to fix it?

    Hi,
    According to your description, I understand that all attachments in Outlook are opened slowly since updating Outlook 2003 to 2013. Please confirm whether all users encounter this issue. Also check whether the issue continues in cached mode and in OWA.
    Based on your post, I suggest we can try to disable the following add-ins to check whether the issue persists:
    Acrobat PDFMaker office com addin
    symantec endpoint protection outlook addin
    If there is any updates, please feel free to let us know.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • MICROSOFT OFFICE 2013 HOME AND BUSINESS

    Hello 
    i just bought new microsoft office 2013 home and business licenced software .and we are using THIN CLIENT device in our premises and working remote desktop ,but after installation of msoffice the message showing
     "This copy of Microsoft Office 2013 cannot be used on a computer running Terminal Services" error message when you try to open the Click-to-Run version of an Office 2013 program or suite on a terminal server."
    it means i am facing issue with office 2013 home business that can not be used on terminal services.
    so pls help me to resolve this error

    Retail editions of Office can't be used on RDS/TS - only Volume Licensing editions can be used.
    Recently, Office365ProPlus was updated to provide "Shared Computer Activation", but this doesn't apply to Retail editions such as H&B.
    http://www.microsoft.com/licensing/about-licensing/briefs/remote-desktop-services.aspx
    5. Can I install a retail or OEM version of Microsoft Office on a network server?
    Microsoft Office retail (full packaged product) and original equipment manufacturer (OEM) products released in 2007 or later
    do not permit network use.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How to add shortcuts to user Start Menu and Taskbar or Desktop with using Microsoft Office 2013 Config file.

    Hello,
    How can i add the shortcuts for Office 2013 feature (Word, excel, ext) to the users taskbar or desktop with using config.xml file while installing the Microsoft Office 2013 from SCCM?
    I know how to do that with OCT, but i have another problem if i use OCT. So i have to do it with Config.file, but i don't know which code can i write on config.xml file to create shortcut on desktop or taskbar...
    Regards,

    Hi
    There is a known issue about
    changing the shortcut location for an Office 2013 application:
    When you try to change the shortcut locations for Office 2013 applications in the Office Customization Tool (OCT), you receive the following error message:
    Invalid start in folder. Please try again.
    Then, you add the Start in location for Office 2013 and run a customized installation. When you double-click the shortcuts that are displayed on the desktop, Configure shortcuts does
    not work and you receive the following error message: 
    Sorry, we couldn’t find your file. Is it possible it was moved, renamed or deleted?
    To work around this issue, type a single open bracket ([) in the Start in
    field.  
    In addition, refer to the link below on "Configure shortcuts" in OCT:
    http://technet.microsoft.com/en-us/library/cc179097.aspx#Configure_shortcuts
    Regards
    Tylor Wang
    TechNet Community Support

  • Office 2013 Updates Error - Mapped Drive

    Event ID 11327
    Product: Microsoft Office Professional Plus 2013 -- Error 1327. Invalid Drive: V:\
    Event ID 1023:
    Product: Microsoft Office Professional Plus 2013 - Update 'Update for Microsoft Office 2013 (KB2956177) 32-Bit Edition' could not be installed. Error code 1603
    Error within Software Center: The software change returned error code 0x80070643.
    These errors only occur while updating through SCCM 2012 R2 automatic software updates. I can download the update directly from the Microsoft site and install without any errors. I am a new to SCCM, but was able to push out updates for Windows 7 and Office
    2010 without errors. After further testing I found that editing the Office 2013 install with the customization tool would allow the update to run. My MSP file custom install has "Remove Files" set to delete links on a mapped network drive (V:\).
    I am not sure how Office 2013 updates through SCCM (only) would care about a custom install portion that should be unrelated.
    I plan to exclude the V drive file removals from the custom install and just do it from a script. However, I am not sure what to do about updating the machines which currently have 2013 installed and constantly error while updating through SCCM.

    you are getting into different things here. Creating the ADR and runs every-time ? Microsoft do not release patches everyday and there is no point running the ADR everytime.coming to the question , how did you create and update the MSP for the Office Update
    file ? using ADR ,for deploying the updates,you will not have facility to control the command line options . for the drive letter issue (Product:
    Microsoft Office Professional Plus 2013 -- Error 1327), you can refer
    http://support.microsoft.com/en-us/kb/327763. you can try installing the MS office 2013 on a PC without any drive mappings and try the update. I suppose the issue could be with the drive mapping something related.
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

  • Microsoft Office 2013 has stopped working

    Please can you help?  My PC is running Windows 8 Professional Plus 64 bit.  I downloaded and installed Microsoft Office 2013 32 bit and it worked perfectly until I changed my graphics card to an Asus Radeon HD6450 Silent.  Since then, all
    the programmes, Outlook, Word, Excel etc. have stopped working.  I have Microsoft Office 2010 32 bit installed as well and that is still working fine.
    I have tried removing COM Add-ins and have also repaired MS Office 2013 but neither have worked.  I have read the KB article but the driver dlumd32.dll does not appear to be installed on my machine.  All the applications will run in Safe Mode.
    I have uninstalled Office 2013 and re-installed it but at the end of the installation I got the ‘Microsoft Office has stopped working’ message.
    The event logs for each say:
        EventData
                outlook.exe
                15.0.4433.1506
                508fa723
                atidxx32.dll
                8.17.10.453
                5064ffd8
                c0000005
                003c376c
                e7c
                01ce1cfcf2eb3b12
                C:\Program Files\Microsoft Office 15\root\office15\outlook.exe
                C:\WINDOWS\SYSTEM32\atidxx32.dll
                34205235-88f0-11e2-be82-002354da9f87
                powerpnt.exe
                15.0.4433.1506
                508fa697
                KERNELBASE.dll
                6.2.9200.16451
                50988950
                e0000003
                00014b32
                1414
                01ce1e86a1ccb5b6
                C:\Program Files\Microsoft Office 15\root\office15\powerpnt.exe
                C:\WINDOWS\SYSTEM32\KERNELBASE.dll
                e773a04c-8a79-11e2-be83-002354da9f87
    onenote.exe
                15.0.4433.1507
                509dd98c
                unknown
                0.0.0.0
                00000000
                c0000005
                0166008c
                de8
                01ce1e86907c6cb7
                C:\Program Files\Microsoft Office 15\root\office15\onenote.exe
                unknown
                d162f65f-8a79-11e2-be83-002354da9f87
    outlook.exe
                15.0.4433.1506
                508fa723
                atidxx32.dll
                8.17.10.453
                5064ffd8
                c0000005
                003c376c
                b40
                01ce1e867fe36df0
                C:\Program Files\Microsoft Office 15\root\office15\outlook.exe
                C:\WINDOWS\SYSTEM32\atidxx32.dll
                bf7330ec-8a79-11e2-be83-002354da9f87
        IEXPLORE.EXE
                10.0.9200.16482
                50cfc9bf
                atidxx32.dll
                8.17.10.453
                5064ffd8
                c0000005
                000135b4
                9b8
                01ce19d63a5e4f4c
                C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
                C:\WINDOWS\SYSTEM32\atidxx32.dll
                7b558297-85c9-11e2-be7e-002354da9f87

    Hi Lesley,
    By checking the event log you provided, it seems this problem also occurs with Internet Explorer, isn't it?
    And most of them are related to the atidxx32.dll file, I'd suggest we remove the graphics driver and see if this problem will still occur, if no, try to install any ohter version of graphics driver to see if this problem will still occur.
    Max Meng
    TechNet Community Support

  • Any Fix / Update For Microsoft Office 2013 Free/Busy Information Issue

    Any official update / fix regarding the Microsoft Office 2013 Free/Busy Information Issue? (not the workaround I found to uninstall KB2837618
    and re-create profile).
    Reference: http://helpdesk.missouristate.edu/news/two-microsoft-updates-cause-problems-with-outlook-2013
    Thanks a lot,
    Moshe

    Refer to the solution which delivery by Hypocrit from another thread with the same topic.
    http://social.technet.microsoft.com/Forums/en-US/827a12f0-c785-43df-a71f-0b21aeffa176/outlook-2013-freebusy-fails-after-updates?forum=officeitpro
    I've copied the replies below:
    "With mfcmapi open your Profile under the Profile->Show Profile
    then double-click "Outlook" or how your Profile is named
    then double-click "Microsoft Exchange"
    then double-click your mailaddress (both) and remove PR_DELETED_FOLDERCOUNT with value SMTP: or correct them"
    http://mfcmapi.codeplex.com/releases/view/101020
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    More reference post:
    http://social.technet.microsoft.com/Forums/en-US/a926f0b5-0e66-4f43-8ac3-50791df16154/microsoft-office-2013-freebusy-information-issue?forum=officeitp
    Tony Chen
    TechNet Community Support

  • Microsoft Office 2013 (Word,excel) Still appear as "Standard" after migrate in ProPlus 365

    Hi,
    I'm planning a mass deployment of Microsoft Office 365 ProPlus with SCCM 2012.
    I made my application, and added a supersedence of Microsoft Office 2013.
    So when I deploy ProPlus, It first uninstall Office 2013, then reboot, then install Office ProPlus 365
    My problem is that when it install Office ProPlus product that I had on Office 2013 and I go in Account tab, I still see "Microsoft Office Standard 2013"
    When I see the others product, I see Microsoft Office ProPlus.
    I'm sure that Standard is uninstalled first, I can also see in Add/Remove programs that there is no Standard version.
    Is that just a bug, or some of my product hasn't migrate on Office 365 Proplus ?
    Thanks ! :)

    @Don, I reboot the client computer after uninstalling Office 2013. Nothing have changed.
    @Aravindhan, I'm lauching Office from the start menu. I already tried to just uninstall Office and see what's happen. Office uninstalling correctly. But When I install ProPlus, I can see "Office Standard" in account tab.. (and Standard doesn't
    appear in Add/remove programs)
    Maybe check c:\windows\temp\SetupExe(YYYYMMDDHHMMxxxxx).log
    This is the Office (MSI) setup logfile, to see if there were any uninstallation errors?
    Are there any standalone Office products installed previously, e.g. SharePointDesigner or similar ?
    It might be necessary to use OFFSCRUB.VBS (from the Office removal Fixit) to clean that up?
    http://blogs.technet.com/b/odsupport/archive/2011/04/08/how-to-obtain-and-use-offscrub-to-automate-the-uninstallation-of-office-products.aspx
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Datamining PST Files using Microsoft.Office.Interop.Outlook

    I was wondering how to datamine a pst file beyond it's primary folders to see if an empty folder has content in a subfolder and add it to an existing psobject?
    Cheers,
    B.
    $results = New-Object System.Collections.ArrayList # Empty Array
    $null = Add-type -assembly Microsoft.Office.Interop.Outlook
    $outlook = new-object -comobject outlook.application
    $namespace = $outlook.GetNameSpace('MAPI')
    $pstpath = "d:\sample.pst"
    $namespace.AddStore($pstpath)
    $PST = $namespace.Stores | ? {$_.FilePath -eq $pstpath}
    $PSTRoot = $PST.GetRootFolder()
    $PSTName = $PST.Displayname
    Foreach ($folders in $PSTRoot.Folders) {
    $x = $folders.Name
    $y = $folders.FolderPath
    $z = $folders.Items.Count
    $Object = New-Object PSObject
    $Object | Add-Member -Name 'Name' -MemberType Noteproperty -Value $x
    $Object | Add-Member -Name 'Path' -MemberType Noteproperty -Value $y
    $Object | Add-Member -Name 'Items' -MemberType Noteproperty -Value $z
    $results += $object
    $results | Format-Table 'Name','Path','Items' -Wrap -AutoSize | Out-Default
    $results = $NULL

    Hi B,
    If you want to test the access of the .pst file, please refer to the function below:
    function Test-PSTFile {
    param(
    [Parameter(Position=1, ValueFromPipeline=$true, Mandatory=$true)]
    $FilePath,
    [Parameter(Position=2, Mandatory=$false)]
    $ErrorLog
    process {
    #Create an instance of Outlook
    $null = Add-type -assembly Microsoft.Office.Interop.Outlook
    $olFolders = 'Microsoft.Office.Interop.Outlook.olDefaultFolders' -as [type]
    $outlook = new-object -comobject outlook.application
    #Open the MAPI profile
    $namespace = $outlook.GetNameSpace('MAPI')
    try {
    #Try to add the PST file to the profile
    $namespace.AddStore($FilePath)
    #Try to read the root folder name
    $PST = $namespace.Stores | ? {$_.FilePath -eq $FilePath}
    $PSTRoot = $PST.GetRootFolder()
    if($PSTRoot) {
    New-Object PSObject -Property @{
    FileName = $FilePath
    Valid = $True
    #Disconnect the PST
    $PSTFolder = $namespace.Folders.Item($PSTRoot.Name)
    $namespace.GetType().InvokeMember('RemoveStore',[System.Reflection.BindingFlags]::InvokeMethod,$null,$namespace,($PSTFolder))
    catch {
    #If logging is on, save the error to the log
    if($ErrorLog) {
    Add-Content -Path $ErrorLog -Value ("Ran into a problem with {0} at {1}. The error was {2}" -f $FilePath, (Get-Date).ToString(),$_.Exception.Message)
    #Output a failure record
    New-Object PSObject -Property @{
    FileName = $FilePath
    Valid = $False
    Refer to:
    How to Test Outlook (PST) Personal Folder File Access with PowerShell
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang

  • Uninstall Microsoft Office 2013 using Invoke-TroubleshootingPack

    Hi,
    I'm deploying an uninstallation package to uninstall Office 2013 using the ingenious Microsoft Fix it (located here: http://support.microsoft.com/kb/2739501/en-us)
    called O15CTRRemove.
    When running it manually, it removes everything that is related to Microsoft Office 2013 and I am able to install a new Office 2013 without any problems (changing from Office 365 to VL).
    The problem is as follows:
    I need to do this silently on a lot of computers using a deployment tool. I figured out how to use powershell and I'm doing it in the following way:
    Import-Module TroubleshootingPack
    $DIAGOFFRemoveOff2013 = Get-TroubleshootingPack -Path "C:\Deployment\Office2013Uninstall\O15CTRRemove"
    Invoke-TroubleshootingPack -Pack $DIAGOFFRemoveOff2013 -AnswerFile "C:\Deployment\Office2013Uninstall\DIAG_Off_RemoveOff2013.xml" -unattended
    I created the Answerfile DIAG_Off_RemoveOff2013.xml in the following way (according tohttp://blogs.technet.com/b/heyscriptingguy/archive/2011/02/09/use-powershell-troubleshooting-packs-to-diagnose-remote-problems.aspx):
    Get-TroubleshootingPack "C:\Deployment\Office2013Uninstall\O15CTRRemove" -answerfile "C:\Deployment\Office2013Uninstall\DIAG_Off_RemoveOff2013.xml"
    It looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <Answers Version="1.0" />
    When I run the script it works but for some reason, it doesn't work when I run it as system (my deployment tool runs the script as system, and I've tried it manually like this):
    psexec -i -s cmd
    cmd /C powershell -executionpolicy unrestricted -file "C:\Deployment\Office2013Uninstall\Uninstall_Office2013.ps1"
    It just hangs and I can see in eventviewer that it has run a few troubleshooting packs, that the uninstall of Office is complete but it doesn't continue until I force kill sdiagnhost.exe.
    If I run the script after killing sdiagnhost.exe, it finishes without a problem.
    I have temporarily solved it like this (I run the same job twice, to be sure everything is removed and the second one finishes quickly while the first hangs until the timeout):
    Start-Job -ArgumentList -ScriptBlock {
     $DIR = "C:\Deployment\Office2013Uninstall"
     Import-Module TroubleshootingPack
     $DIAGOFFRemoveOff2013 = Get-TroubleshootingPack -Path "${DIR}\O15CTRRemove"
     Invoke-TroubleshootingPack -Pack $DIAGOFFRemoveOff2013 -AnswerFile "${DIR}\DIAG_Off_RemoveOff2013.xml" -unattended
    Get-Job | Wait-Job -Timeout 1200
    Get-Job | Receive-Job
    Get-Job | Remove-Job -Force
    Start-Job -ArgumentList -ScriptBlock {
     $DIR = "C:\Deployment\Office2013Uninstall"
     Import-Module TroubleshootingPack
     $DIAGOFFRemoveOff2013 = Get-TroubleshootingPack -Path "${DIR}\O15CTRRemove"
     Invoke-TroubleshootingPack -Pack $DIAGOFFRemoveOff2013 -AnswerFile "${DIR}\DIAG_Off_RemoveOff2013.xml" -unattended
    Get-Job | Wait-Job -Timeout 1200
    Get-Job | Receive-Job
    Get-Job | Remove-Job -Force
    I am thinking that there is some kind of dialogue questions that I need to get into the answer file, but I have no idea how to do it.
    Any help is appreciated!
    Best regards,
    Simon

    Credit goes to MS for core script (its to long to post here).
    Credit goes to the guy who wrote the cleaner script.  Whoever packaged it and didn't build in silent switches gets zero points.
    Please note that this will only work for C2R installs of Office 2013.
    This is not true.  There are scrub scripts specific to C2R as well as MSI.
    I extracted the scrub vbs from O15CTRRemove.diagcab
    This is what worked for me.  Use 7-zip to extract the entire package to a directory.  Then run "OffScrub_015msi.vbs all".

Maybe you are looking for