The shadow copy provider had an unexpected error

Reading Time: 2 minutes

If you receive one of the errors below within backup exec or the event log, the fix can be found below. Please be careful when making changes to a live system, if unsure please seek help.

1) Click Start
2) Click Run
3) Type cmd, and click OK.
4) Type the following commands at a command prompt. Press enter after each command.

  • cd /d %windir%\system32
  • Net stop vss
  • Net stop swprv
  • regsvr32 ole32.dll
  • regsvr32 oleaut32.dll
  • regsvr32 vss_ps.dll
  • vssvc /register
  • regsvr32 /i swprv.dll
  • regsvr32 /i eventcls.dll
  • regsvr32 es.dll
  • regsvr32 stdprov.dll
  • regsvr32 vssui.dll
  • regsvr32 msxml.dll
  • regsvr32 msxml3.dll
  • regsvr32 msxml4.dll

Note The last command may not run successfully.

5) Perform a backup operation to verify that the issue is resolved.

Errors:
Error returned while creating the volume shadow copy:0xffffffff
Error 0x8004230F: The shadow copy provider had an unexpected error while trying to process the specified operation.
.
Error 0x80004002: No such interface supported
.
Volume Shadow Copy Service error: A critical component required by the Volume Shadow Copy Service is not registered. This might happened if an error occurred during Windows setup or during installation of a Shadow Copy provider. The error returned from CoCreateInstance on class with CLSID {faf53cc4-bd73-4e36-83f1-2b23f46e513e} and Name VSSEvent is [0x80040154].
.
Volume Shadow Copy Service error: A critical component required by the Volume Shadow Copy Service is not registered. This might happened if an error occurred during Windows setup or during installation of a Shadow Copy provider. The error returned from CoCreateInstance on class with CLSID {faf53cc4-bd73-4e36-83f1-2b23f46e513e} and Name VSSEvent is [0x80004002].
.
Volume Shadow Copy Service error: Unexpected error calling routine CoCreateInstance. hr = 0x80040154.
.
Volume Shadow Copy Service error: Unexpected error calling routine CoCreateInstance. hr = 0x80004002
.
Volume Shadow Copy Service error: An internal inconsistency was detected in trying to contact shadow copy service writers. Please check to see that the Event Service and Volume Shadow Copy Service are operating properly.

Unable to locate Exchange 2007 mailbox after disabling

Reading Time: < 1 minute

If you have disabled an Exchange 2007 mailbox and wondering where it’s gone, follow the instructions below:

1) Launch Exchange Management Console
2) Expand recipient Configuration
3) Click Disconnected mailbox

Setup a limit for SQL log file size

Reading Time: < 1 minute

By default SQL log file size limits are setup to unrestricted.

If you wish to setup a limit, you can do so by following the below. Please be careful when making such changes. Make sure you have a backup of your databases before attempting any changes.

1) Open SQL Enterprise or SQL Server Management Studio
2) Expand databases
3) Right click on the database you wish to set the log size limit on and click properties
4) Click Files
5) Locate your log file in the list. Should be databasename_log
6) Scroll across to the tab named AutoGrowth and click the square button
7) Click restricted file growth and add a limit, click ok

Sending Email Via Command Prompt

Reading Time: < 1 minute

You will require the address of a mailserver before you can send an email via command/telnet.

1) Click start
2) Click run
3) Type cmd and click ok
4) type: telnet mail.domain.ext 25 and press enter
5) You should see a message similar to the one below:

220 mailserver.domain.ext Microsoft ESMTP Mail service, version

6) Type HELO and press enter
7) You should see a message similar to the one below:

250 mailserver.domain.ext Hello [Ip address]

8.) Type MAIL FROM: [email protected]
9) You should see a message similar to the one below:

250 2.1.0 mail.domain.ext Sender OK

10) Next, type the recipients address. Type: RCPT TO: [email protected] and press enter
11) You should see a message similar to the one below:

250 2.1.0 mail.recipientsdomain.exe Recipient OK

12) Before you start typing a message, type the word DATA and press enter
13) If you wish to add a subject line, then type: Subject:-type the subject line here-
14) Once you have typed your message, press enter so you start on a blank line, then type a fullstop . and press enter for your message to be queued for processing.

You should see a message similar to the one below:

250 2.1.0 Message accepted or queued

15) Type quit to exit

Enable recover deleted items on all mail folders

Reading Time: < 1 minute

To enable recover deleted items on mail folders other than the deleted items folder, follow the instructions below:

Please be careful when editing the registry, always create a registry backup before making any changes. If unsure seek help.

1) Click start
2) Click run
3) Type regedit and click ok
4) Expand HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Client\Options
5) Right click the folder options, click new and DWORD value
6) Name the file DumpsterAlwaysOn and amend value to 1
7) Close registry editor

Close Outlook and reopen. To test, click your inbox to highlight, click tools and you should see an option to recover deleted items.