Archive for the ‘Backup’ Category

Recover emails from a PST

December 5, 2012

got it from here;
http://www.howto-outlook.com/howto/restoredeleteditemsfromanoutlookpst.htm

But the basic essence, is;

  • copy the PST (for obvious reasons)
  • download a hex editor.
  • blank the positions 7-13.
  • save
  • Scan the pst with scanpst.exe

That’s it. The details are in the link and maybe I’ll flesh this out later on.

Dan

Advertisements

Windows Server Backup – won’t backup to a UNC!

August 8, 2012

Well it can if you script it. Thanks Microsoft for being so cryptic… here’s the script;

wbadmin start backup -backupTarget:\\server\share\folder -include:C:,D: -allCritical -vssFull -quiet

Enjoy!

(You may need to install Powershell script to get this to work… I can’t remember)

Seagate Blackarmor NAS won’t connect to domain

May 22, 2012

So when you come to join the NAS to a Windows domain it comes up with errors like;
[NET_ERROR: No logon servers available to service the logon request]
or
[KINIT_ERROR: ‘Preauthentication failed’]
I looked on the message boards and didn’t find anything particularly useful until I read a suggestion that I should try a different user than the regular Administrator account.
I did, and hey presto it worked. I had another user with domain admin rights, used that and the NAS joined.
Can’t quite explain it but there you go, a fix.

Changing Desktop and My Documents location

February 14, 2012

I know this is a simple thing to do but I recently ran into a problem when I couldn’t get to the Location tab under properties of Desktop or My Documents. Weird I know but this is about I fixed it and in the interim found a nicer way to change all those locations;

Start>Run>shell:UsersFilesFolder

That will bring you a window that has all the links – you may find some that are duplicated but those are the non-standard links and you can safely delete them without worry if you want to revert back to the standard location.

I couldn’t find the shell command for this for ages which is why I’m adding it here!

moving PST file to Thunderbird

November 17, 2011

Had a client that wanted to move his Exchange emails into a format that didn’t involve spending money.
In other words move the emails from Exchange to Thunderbird.
So first step was to download the emails into Outlook and then copy them to a PST.
Once there, I installed Thunderbird, and followed these instructions;

  1. Install Thunderbird on another PC that has a compatible version of Outlook.
  2. Make Outlook the default email client.
  3. Copy the outlook.pst file to that PC and configure Outlook to use it. (may need to be in the default location)
  4. Compact the .pst file using Outlooks File -> Data File Management commands to permanently get rid of any deleted messages. Don’t confuse this with compressing or zipping a file.
  5. Import the messages using Tools -> Import -> Mail. You can use Tools -> Import to also import the settings and address books.
  6. Repeat steps 3-5 as necessary for any other .pst files.
  7. Backup the Thunderbird profile. Mozbackup is a useful tool to do that.
  8. Restore the Thunderbird profile on your PC.
  9. Cleanup. (Uninstall Thunderbird on the PC with Outlook etc.)

Courtesy of http://kb.mozillazine.org/Import_.pst_files

Changing a users Blackberry in BES

January 10, 2011

OK so I can’t count the number of forms I went to where someone would ask this question, only to get exceedingly unhelpful advice or abuse or any number of misleading information. So here’d my cut down version in the hopes I won’t need to look at any of those forums again should this issue crop up again.

There are three ways to do this;

  1. Have the user get the new phone, plug it into their machine and sync. It should ask if you want to switch. Click YES. All done. [Medium sync time]
  2. Get new phone and plug into the BES server using a USB cable that you use to sync normally (or charge). Right click on the user, choose Assign device. Choose that phone (should only see one device). All done. [Minimum sync time] *** I can confirm this worked like a charm ***
  3. Assign the new handset in devices on the BES server – you will need IMEI and PIN for that and then follow step 2 above. I didn’t do this method so can’t verify that it’s that easy or even works but from what I hear in those afore mentioned forums, it does. All done? [Maximum sync time]

Backup Outlook with Batch commands

October 11, 2010

OK I know I’m going to use this over and over so here’s the beef;

First you need to create a wait batch file so you can give the user some time to log off Outlook before you kill it. In Windows XP there is no wait command unless you install the resource kit and to be honest it’s quicker to create a batch file that will do the same thing. This is that batch file…

@ping 127.0.0.1 -n 2 -w 1000 > nul
@ping 127.0.0.1 -n %1% -w 1000> nul

Save that as a batch file called something like wait.bat.

Second thingĀ  you need to do is create the actual backup batch file. Something like this;

@echo off
Echo “Shutting down Outlook in 30 seconds!!!”
Echo “Please Close outlook NOW!!!”
call wait 30
taskkill /im outlook.exe
rmdir /s /q m:\backup
mkdir m:\backup
mkdir “m:\backup\outlook”
xcopy “C:\Documents and Settings\username\Local Settings\Application Data\Microsoft\Outlook\*.*” “m:\backup\outlook\*.*” /s /e /c
xcopy “C:\Documents and Settings\username\Application Data\Microsoft\Outlook\*.nk2” “m:\backup\outlook\” /s /e /c

Obviously change username for the real path.

There is a risk when you kill Outlook but as long as it’s not doing anything at the time it should be OK. Worst case is that it will force an intergrity check when you start up outlook again.

My reason for killing Outlook is that if you don’t kill it, then it will simply not backup. Assuming you added ShadowCopy to your network server’s shared drive then you’ll have multiple copies in that location even though you delete it and recreate it each time with this batch file.

Kudos to Malektips.com for the wait command!