Tuesday, March 27, 2012

Annoying liveupdate error in backup exec 2010 R3

This error was showing when I tried to run liveupdate image

I solved by doing the following:

1) Open the command prompt and browse to the following directory C:\Program Files\Symantec\Backup Exec\

2) Run BeUpdateOps.exe -AddBE -OptOut

3) Run LiveUpdate

Done! Second time this error occurs, but maybe sp2 will have solved it…

References:

http://www.symantec.com/business/support/index?page=content&id=TECH66265

Wednesday, March 21, 2012

Create a task-list with mailto-function

To create a tasklist with ability to receive mail the following steps were required.
1.Create a list based on Task, for example weeklymeeting
2. Create a list based on Announcements, for example incomming
3. In the list incomming, activate mailto support (Communications>Incomming e-mail settings>Allow list to receive e-mail)
4. In list incomming, create an associated workflow in SPD. Make it autostart when item is created.
5. Edit workflow to Create Item in weeklymeeting, copy relevant fields like Name and Body to new fields in weeklymeeting from incomming.  Then Delete item in CurrentItem.
image

Tuesday, March 20, 2012

Can’t get workflow to start when mailing to list

I just had major problem with getting a workflow to start when mailing to a sharepoint 2010 list. I found this solution to the problem. Not really obvious so im putting it here.
Error description: When mailing to announcement or document library list, a workflow configured to start when new item is created, doesn’t start. When creating item manually in list the workflow kicks off without any problems.
Solution: On the sharepoint server. Check if mailto list is enabled
/> stsadm -o getproperty -pn declarativeworkflowautostartonemailenabled
if this is returned: <Property Exist=”No” />
or <Property Exist="Yes" Value="fales" />
Then run /> stsadm -o setproperty -pn declarativeworkflowautostartonemailenabled -pv true
It will take a few seconds but after this the workflow starts when mail is received to the list.

Wednesday, February 22, 2012

Sharepoint alert user when case is assigned

To set your own alertsystem to notify user when they are assigned a case.
1. Set up a securitygroup in Sharepoint where you add your users. You need to configure their emails in sharepoint user config. Your sharepointserver also need to be able to send emails. Aka you’ve already setup your smtp.
2. In your sharepointlist, choose Create a workflow in Sharepoint Designer.
3. If CurrentItem:Assigned is not empty e-mail CurrentItem:Assigned
To make this fly the assigned column need to be of type Person or Group and only allow selection from Sharepointgroup you’ve previously created.
In Sharepoint Designer you can now edit Start Options for the workflow to start automatically when an items is changed or created.
You can also design the email which is sent to the user to contain basically anything from the current item.
References:
http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/26649ef1-3333-4d08-b2a5-1c988c975959

Friday, February 17, 2012

Free up more space

If you’re aching for more space on your server or workstation, use this command to remove all uninstallfiles related to servicepack1 on Windows Server 2008 R2 and Windows 7.

dism /online /cleanup-image /spsuperseded /hidesp 

For an offline WIM-image,

dism /image:wimfile.wim /Cleanup-Image / spsuperseded /hidesp.

/hidesp option removes SP1 from the “Installed Updates” section of Programs and Features, to ensure that users do not try to uninstall the service pack.

After doing this maneuver on a Server 2008 R2 my winsxs went from 12.12GB down to 6.82GB. Not a real true value though since winsxs contains mostly softlinks, but still an indication.

References:

http://matthewlong.wordpress.com/2011/03/04/cleaning-up-windows-7-server-2008-r2-service-pack-1-files/

Friday, February 10, 2012

Find that missing driver

A nice resource to have is the ability to grab the device id of a missing hardware driver and get the correct softwaredriver in return.

Get the hardware device-ID. Copy the last line of values, for example \\USB\VID_08FF&PID_2580 for the struggling fingerprintreader.

Goto catalogue.microsoft.com, and input the deviceid. Put the device in your basket and download. This will get you a cab-file, which you can extract using 7Zip. Then just update your missing driver and point the search to your newly extracted folder.

Resources:

catalogue.microsoft.com

Wednesday, November 16, 2011

Backup Exec migration

When I recenty upgraded a backup exec server to x64. I needed to do a completed reinstall so I needed a way to migrate my selection lists and jobs. I found this method was very straightforward and worked perfectly! The idea is to copy the entire database straight over.

1. Stop all backup exec and sql services on the old server

2. Copy catalogs and Data catalogs from Backup Exec directory to a temporary location.

3. Do the reinstallation and install backup exec again.

4. Stop all backup exec and sql services.

5. Copy catalogs and data directories onto existing.

6. Start services again.

7. Use beutility and choose Copy Database, pick your newly copied databasefiles from the data catalogue.

8. Use Beutlity to Update configuration for New Media Server Name.

9. Restart.

Some small issues that had to be resolved afterwards…

Devicepools – Backup exec also imported the old devices onto the new installation. This causes conflicts with the deviceids and if the device isn’t the same as before it needs to be removed.

All policies will retarget jobs to All Devices after this so these will need  to be reconfigured.

In my case, there where some B2D-devices that couldn’t be removed from the devicetab. The solution was to remove them directly from the the database table. Open up SQL Management Studio and remove the old devices from table dbo.devices . Problem solved.

Selection Lists shows only All Resources – image

Issue with selection lists being empty, both when editing a existing lists and creating a new. Though through View Selection Details you could actually see the selections on a existing list. Also when trying to show the User Selection Lists this error was displayed image

This was resolved by changing the System logon Account under Network> Logon Accounts to better reflect the new server.

References:

http://www.symantec.com/connect/forums/cannot-delete-device-devices-tab-backup-exec-2010

http://insanelabs.com/misc/backup-exec-transfer-scheduled-jobs-database-and-settings-to-a-new-backup-server/

http://www.symantec.com/business/support/index?page=content&id=TECH35390

http://www.webbosworld.co.uk/blog/?p=137

http://www.symantec.com/business/support/index?page=content&id=TECH139808

Powershell and Uptimerobot

Uptimerobot can be quite tedious when you need to update many monitors at once. For example say you bought the license for Uptimerobot and n...