All posts by Simon

TFTP open timeout

I’m running a server 2008 R2 box. Having DNS service running on the same machine as WDS causes DNS to steal the ports that TFTP needs.

Run regedit (with Admin access obviously).

Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\WDSServer\Parameters

Right-click UdpPortPolicy, and click Modify.  In the Value data box, type 0, and then click OK.  Exit Registry Editor and then restart the Windows Deployment Services service.

Worked a treat for me.

Configuring Internet Explorer 10 Proxy Via Group Policy

Admins running Windows 8 and/or Server 2012 will notice that the Internet Explorer Maintenance section has been removed entirely… the joys. These settings now have to be configured via Group Policy Preferences.

First navigate to User Configuration/Preferences/Control Panel Settings. Right-click on Internet Settings and select New > Internet Explorer 10.

 

Go to the Connections tab and you’ll be able to fill in any proxy information you require.

Done.

Searching Exchange 2010 mailboxes with Powershell

If you don’t have access then assign the role to the required user account New-ManagementRoleAssignment -Role “Mailbox Import Export” -User administrator

This will search every mailbox for messages containing the word FINDME in the message body and export them to the administrator mailbox in a subfolder called Results

  • Get-Mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery “Body:’*FINDME*’” -TargetMailbox administrator -TargetFolder Results

If you want to search a single mailbox using the body

  • Search-Mailbox -Identity user1 -SearchQuery “Body:’*FINDME*’” -TargetMailbox administrator -TargetFolder inbox

You can also replace the word Body with Subject, From, To etc…

IPSec driver has entered Block mode

Basically the issue was a NIC that could receive traffic but not send. Looking at the event  viewer I saw the message “IPSec driver has entered Block mode”. I got around this issue by modifying the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\ReservedPorts

Update the ReservedPorts key, do not replace the values currently there with these values but simply add these additional values. You can copy and paste the list below into the registry entry

  • 1433-1434
  • 1745-1745
  • 1080-1080
  • 1720-1720
  • 3343-3343
  • 1645-1646
  • 1701-1701
  • 1812-1813
  • 2883-2883
  • 4500-4500

You will get a warning message but just click OK.

Microsoft at this point tell you to remove the old IPSec policy (which didn’t exist on my server in the place they mentioned) so I just did the following:

  1. Rebuild a new local policy store. To do this, Click Start, click Run, type regsvr32 polstore.dll in the Open box, and then click OK.
  2. Verify that the IPSEC Services component is set to automatic (under services.msc), and then restart the host.

Most of this info can be found here: http://support.microsoft.com/kb/912023

Hotmail Active-sync settings

When POP access to Hotmail isn’t good enough and you don’t want to pay for IMAP access then Actice-sync is the perfect solution. Not only is it free and fast it also has push capability. To set it up use the following info:

  • E-mail: username@hotmail.com
  • Server address: m.hotmail.com
  • SSL enabled
  • Username: username@hotmail.com
  • Password: <your password>
  • Domain: <blank>

I’ve had this working on Windows 6.5, Windows mobile 7  and Android.

XMBC (fanless HTPC)

After many years my trusty XBOX no longer cuts it as a HTPC as most of the releases I want are in HD (and why shouldn’t I take advantage of that).  After reading many forums and spec-in up numerous units I decided on the following:

So here are the parts just waiting to be put together – woohoo:

Okay I know the spec if overkill but I wanted a unit that would last me a few years.  I installed Ubuntu 10.4 everything was perfect except the temperature, after watching a 1080p film the temp shot up to about 86’c even when the box was idle it sat around 61’c.  I decided to bite the bullet and wreck my ‘fanless’ HTPC and go for some added cooling. I landed on this fan:

This was the ONLY slim silent fan I could find, only problem was the size – it would be to big to mount internally due to the size of my case.  At this point I was just fed up and wanted a working unit so I decided to do the unthinkable and cut a large hole in my new case and mount the fan externally.

After 30mins or so I was done.

The results after watching a two hour 1080p movie; well see for yourself.

15 - Temperature of htpc

The final result is a PC that boots in under 1.5seconds and completely silent.  That’ll do for now.

Assigning “Send As” Permissions to a user

1. Start Active Directory Users and Computers; click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.

2. On the View menu, make sure that Advanced Features is selected.

3. Double-click the user that you want to grant send as rights for, and then click the Security tab.

4. Click Add, click the user that you want to give send as rights to, and then check send as under allow in the Permissions area.

4.5 Remove all other permissions granted by default so only the send as permission is granted.

5. Click OK to close the dialog box.