Search

Techkiwi's Blog

The adventures of a technical kiwi

Category

Uncategorized

Server 2012 – VPN Role Installation Always Requires Restart

Over the past few weeks I did a 2003/2008sbs to server 2012 R2 server migration and had an issue with the VPN role not installing through Server Manager giving a “restart required before installation can proceed” error even after a fresh restart and all updates installed.

You reboot till your hearts content but the error will keep appearing. This seems related to migrating away from an older domain as we have not had the issue on a fresh 2012 installation.

To resolve the issue you need to go to Group Policy Management and edit the ‘Default Domain Policy’ with the following details:

Computer Management -> Windows Settings -> Security Settings -> Local Policy

Edit the ‘User Rights Assignment’ policy

First enable the policy if it is not checked and add the following accounts:

IIS_WPG, NETWORK, NETWORK SERVICE, SERVICE

Save and close group policy, open command prompt (CMD) with administrator privileges and run the command which will force update group policy: gpupdate /force
Reboot the server and try to install the roles again from Server Manager and hopefully it will resolve your issue as it has done for us multiple times.

Advertisements

Windows 10: Brother Control Center 3 Won’t Start

Had a client today that is using an older Brother multi function printer/scanner/fax unit that runs Brothers Control Center 3 software which he was using for scanning.
After upgrading to Windows 10 the software was still loaded but would open a white blank page and had no options.

 

The solution is to change the program theme from Modern Style to Classic Style which resolves the issue.

Open Regedit and navigate to:

HKEY_CURRENT_USER\Software\Brother\ControlCenter\3.0\Common\Config\SelectedSkin

Change “ModernStyle” to “ClassicStyle”

Reboot your machine and try it again and hopefully it will open correctly!

 

Hopefully that fixes it for you, comment below if you are still having issues.

Thanks to Steve’s IT Blog post for the tip

Merge Hyper-V .VHD/.AVHD Files without a Hyper-V Server

Here is a quick tip if you need to merge Hyper-V snapshots (.AVHD) files with the .VHD to form one file.

 

The usual process would be to use the Microsoft Hyper-V server to do this, but in this case I did not have a Hyper-V server left and I wanted to merge the files so that we could open the drive and retrieve the data.

 

Kai Liu has created vhdutils which will do just that! (http://code.kliu.org/misc/vhdutils/) and you can download the tools here -> http://code.kliu.org/misc/vhdutils/vhdutils-1.0.0-redist.7z

 

Step 1: Find the latest .AVHD file by creating the date created

Step 2: Extract the makevhd.exe file (Either 32 or 64bit) to the same directory as the VHD files.

Step 3: Run the script in this format,  “makevhd -d merged.vhd 0 latest.avhd”

You need to change the latest.avhd file to the name of your latest .avhd file.

Step 4: This will run (Nothing is shown until it finishes) and it will merge the files into merged.vhd in the same directory location.

 

Note: You need to have all of the .avhd & .vhd files in the same folder or you will get the error “Chain Broken”.

 

From here you can now mount the merged .VHD file through computer management and browse the file structure.

 

 

Ipredator Multiple OpenVpn Sessions / Devices

One of the things I wanted from Ipredator which I could not find at the beginning was the ability to have multiple OpenVPN sessions or devices running at the same time.

Apparently there is documentation for this (I and others couldn’t find it) but the friendly staff at Ipredator have given me the tip.

 

You can use different server addresses to use multiple devices for example:

Device 1: pw.openvpn.ipredator.se

Device 2: nat.openvpn.ipredator.se

 

nat.openvpn.ipredator.se is a newer address that has been added and using the above I have successfully been connecting two devices at the same time.

Office 365 Unlicensed Product Error

This has been an on going issue for most people using Office 365 licensed Office products since the beginning.

After a period of time (Sometimes a password change sets it off) Your user might get the error (Unlicensed Product) in the banner when opening an Office product like Word or Outlook.

There are two different fixes, one for Office 2010 & another for Office 2013.

You need to open a command prompt (I would elevate) and run the following.

Office 2010

32bit: C:\Program Files\Common Files\Microsoft Shared\OFFICE14\OSAUI.exe /F

64bit: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\OSAUI.exe /F”

Office 2013:

You need to go to one of these locations first and then run the script below

32bit: C:\Program Files\Microsoft Office\Office 15\

64bit: C:\Program Files (x86)\Microsoft Office\Office15\

Now run: cscript OSPP.vbs /act

This should bring up am activation window which should show “Successful” after completing.

Hopefully this will help you solve your Office 365 Office Licensing issue.

Update 14/07/2015

I have since had issues where the above does not resolve the issue for Microsoft Office 2013. Where this occurred I have done the following which seems to work ok.

run: cscript OSPP.vbs /dstatus

This will show you the status and last 5 digits of each license key. Now locate the installation that won’t install properly.

Now run: cscript OSPP.vbs /unpkey:Last 5 Digits Of key

(Example: cscript OSPP.vbs /unpkey:4B44N3)

*Note: You can just run this for each of the installations, but be aware you will need the license keys or accounts to reactivate*

Once you have run those commands I recommend rebooting the machine and then right clicking on Word and selecting “Run as administrator”. This should hopefully re-prompt the Office activation window an you can sign into Office 365

Xen XCP Ubuntu – Cannot Mount CDRom Issue

There seems to be many issues regarding the installation of Ubuntu onto an XCP server and it not wanting to mount the Cd-Rom

After much mucking about I have managed to get this to work.

On the internet you will easily find half of the solution but when using XCP you have to make a second adjustment for it to work.

 

You must use an “Other Installation” template when creating the VM, if you use an Ubuntu related template it will not work.

When booting off the CD you must select F6 and turn off ACPI and NOAPIC

Once you have done this you should be able to continue the installation normally.

 

The only other note I have is that if you have issues running the live linux installer from usb you should use the “Startup Creator” from another Ubuntu installation to create the bootable USB as this can solve other issues as well.

 

I have tested the above method with both 12.04 LTS and 12.10 and can confirm it is working.

Further SBS 2008 Space Fixes

As per a previous post I have explained one of the most difficult things around maintaining an SBS server, The disk space that is never ending!

Here is a quick list of things you can use to regain control:

1. Shrink Sharepoint Logs  (Fix as per my previous post)

2. Delete all temporary IIS files

3. Search for other large SBS log files in the Windows Small Business Server folder (The pop3 connector & Console logs in particular!)

4. Configure update list for the WSUS server and remove any updates you do not need to download, once completed run the WSUS cleanup wizard to remove old update files.

5. I would download and run WinDirStat from http://www.windirstat.info, You can use this free tool to analyze the drive/partition to see where the space is being used up.

6. You can also use the wizards from the sever console to shift exchange, WSUS, Sharepoint etc to another drive/partition if C is becoming to full.

Ubuntu – Boot Disk Full

I am currently running Ubuntu 12.10 which is the latest release at the time of posting this.

I have had the issue after recent updates where my Boot drive has become full, When setting this machine up I let it decide it’s own partition sizes so I thought it was quiet odd that in less than 3 months this disk had become full.

 

I have done a bit of googling and tested this method (To be clear I did not come up with it) but it definitely worked for my machine as I have tested it and am blogging about it here so that I do not loose the code.

 

I ran “dpkg -l ‘linux-image-[0-9]*’ | grep ‘^ii’ | grep -v `uname -r` | awk ‘{print $2}’ | xargs sudo apt-get purge -y #”

 

This took around 1 minute. It cleared around 254mb from the Boot disk and I no longer get the low disk space warnings I was receiving before running the script.

Hopefully this will be useful to someone else (if not myself) at a later stage

Trend Micro + Xtra Yahoo Webmail Attachment issue

UPDATE:
One fix for both 2009 & 2010 TESTED
Works 🙂

Some of you other Kiwi’s out there are probably experiencing this very problem!

I know some of my customers are.

The main issue is when you are using Trend Micro Antivirus and Xtra/Yahoo Webmail.

You will try to download attachments, You get as far as Xtras online Trend Scanner running and then when you hit the “Download Attachments” button your browser will not take over and download the file for you instead it sits there like a stunned mullet.

After 2/3 hours on the Phone to Trend micro I have a solution which should fix the problem for you.

So here it goes! TechKiwi is off to a flying start!

Trend Fix:
1. Use the Trend updater to make sure your updates are to the latest version.

2. Quit all components using TISTOOL.
   Go to the Start -> All Programs -> Trend Micro Folder -> Trend Micro Support Diagnostic Toolkit.
   Click on Quit All Components. 

3. MOVE the TmphHttp.dll file in the C:\Program Files\Trend Micro\Internet Security folder to your desktop (or delete it if your super game)

4. Go to the Start -> All Programs -> Trend Micro Folder -> Trend Micro Support Diagnostic Toolkit.
   Click on Start All Components.
5. Reboot machine and test.

This fix should work. I have tried it a few times with great sucess :)

Feedback on this topic is appreciated

Cheers
Ben

Blog at WordPress.com.

Up ↑