Monday, 22 April 2013

Distributed File System (DFS) schedule not being replicated to receiving server

Today I had a situation where the replication to our data centre was causing our local users to experience slowness. This was the first big replication of files so I wanted to set up a schedule so that it would occur out of hours.

dfs management

I went onto the local server and altered the schedule but noticed that files were still replicating to the data centre in ‘real time’. I looked at the schedule on the receiving server (in the DC) and noticed that it had not changed.

This was obviously a factor.

So here’s the solution/explanation.

1. When it comes to DFS replication of files it happens almost instantly, however when it comes to replicating a schedule from one host to another it takes much longer.

2. In order for the schedule to replicate the Active Directory Domain controllers must update each other.

3. Once the AD side of things is done, the DFS server must poll the Domain controller (This happens automatically).

4. After successful contact, the amended schedule will show on the receiving server. This took 1 and a half hours on my server.

5. Shortly after this (15 mins in my case) the files will stop replicating in real time which means the schedule is in place.

Sunday, 21 April 2013

Sonicwall Global VPN Client – Unable to manage networking component. Operating system corruption may be preventing installation error.

Whilst recently trying to install the Sonicwall Global VPN Client I encountered the error “Unable to manage networking component. Operating system corruption may be preventing installation” and the installation failed. sonicwall logo

The initial thought was that the firewall and antivirus were affecting the installation so these were disabled. Unfortunately, the installation still failed . After abit of google searching, I came across an article that referred to DNE. For the uninitiated DNE is the acronym for Deterministic Network Enhancer and is often associated with Citrix and Cisco VPNs.

Although, the problem wasn’t related to an installation of Citrix, I found the following fix in a Citrix forum and it worked perfectly for my sonicwall issue. Hopefully it will work for you too.

1. Go to the registry i.e Start > Run > type in regedit.
2. Go to ‘HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Network\MaxNumFilters’
3. If the value is showing as 8, set it to 14.
4. Reboot and retry the installation.


Saturday, 20 April 2013

How to increase the size of a hard drive on VMware ESXi and MS Server 2012

Hard drives that hold varying amounts of data will need to expand as the volume increases.

vmware-logo

For example, if a fileserver must accommodate 15 new users that need to add their data to the network you will want to extend the file storage by at least a few Gb. In a virtualised environment running MS Windows server 2012 this can be achieved very easily.

Step 1 – Increase the virtual hard disk capacity in VMware (on your ESXi server)

Step 2 – Use server 2012 to configure and recognise the extra space.

Following these steps will expand your current drive and you will not lose data.

Step 1 Increase the size in VMware

  1. Log into the Vmware vSphere client
  2. Go to Inventory > Hosts and Clusters
  3. Power down the server which requires increased disk space
  4. In the left hand server list, right click the server > Go to Edit settings
  5. Highlight the Hard disk you wish to increase
  6. Under ‘Disk Provisioning’ increase the Provisioned size to your requirements.
  7. Click OK and start the virtual machine (VM)

Step 2Expand/extend the disk size in Windows Server 2012

  1. Log onto your server
  2. Go to Computer Management > Disk Management
  3. You will now see the existing drive and now some extra ‘Unallocated space’ next to it.
  4. Right click on the existing drive and select ‘Extend Volume..’. The extend volume wizard will appear with the maximum disk space selected by default. Click Next
  5. The wizard will then apply the change and expand the volume.

When you return to the Computer Management interface you will see that your original drive has increased as required.

Friday, 19 April 2013

How to resolve the ‘Parameter is not a valid backup job or group’ error in Fbackup

I recently installed FBackup software on my server and configured it to do daily, weekly and month end backups. Each night after the daily backup had completed successfully I would come into the office to find the error ‘Parameter “New Backup” is not a valid backup job or group’. FBackup

There was no backup in the FBackup interface with the name “New Backup” so I assumed it was a remnant of the initial configuration that had been changed or deleted.

fbackup error

This error will occur after each backup unless the following fix is applied :

Go to C:\Windows\Tasks and remove the backup that has the same name as the one mentioned in the error message. In my case it was “New Backup” and the file I had to delete in the tasks folder was ‘fba_New Backup’.

I deleted this file and the error was never produced again.



Thursday, 18 April 2013

Change a product key in Microsoft Server 2012

When installing Microsoft Server it may be necessary to change the product key. An example of this would be installing an evaluation copy for testing and then purchasing a full license for when the server goes into production.

Windows-2012-logo

There is no obvious link to add or overwrite a product key so it can be achieved in the following way :

  1. Go to the Home Screen of Server 2012 (if you are on the desktop) by pressing the Windows key or point to the lower-right corner of the screen, and then click Search.
  2. Type Slui.exe 0x3
  3. click the Slui.exe 0x3 icon
  4. This will give you the option to enter your new product key. Enter the key and then click Activate.

Your new product key will now be active on your server.

Wednesday, 17 April 2013

How to delete an organisational unit (OU) that is protected against accidental deletion

When a new organizational unit (OU) (object) is created in ‘Active Directory Users and Computers (ADUC)’ there is an option called ‘Protect container from accidental deletion’. If this is ticked at the point of creation then you will receive the following message when you try to delete the OU at a later point. AD


“You do not have sufficient privileges to delete <OU Name>, or this object is protected from accidental deletion”.

Although, this is a useful safe guard it may become necessary to delete an OU that is no longer required. In order to do this, the following work around can be used :

1. Open ‘Active Directory Users and Computers (ADUC)’.
2. Click on View > Advanced features (ADUC will refresh)
3. Navigate to the OU that is to be deleted > Right click > properties > Object tab
4. Untick ‘Protect object from accidental deletion’ >Click Apply > click OK.
5. Highlight the OU and delete

The OU will now be deleted from ‘Active Directory Users and Computers (ADUC)’.






Tuesday, 16 April 2013

How to check the Microsoft Server 2012 Product key and Windows activation status on your server

It may be necessary to check the licensing status of a server after it has been configured and activated. As an administrator you may also need to check your current list of product keys against the actual entries registered on the server. Windows-2012-logo

To access this information, do the following :
  1. Go to the Home Screen of Server 2012 (if you are on the desktop) by pressing the Windows key or point to the lower-right corner of the screen, and then click Search.
  2. Type Slui.exe
  3. click the Slui.exe icon
  4. This will show the status of the activation and also show the last 5 characters of the windows server product key.