showing all posts
by lunarg on March 19th 2013, at 14:29
If a host cannot be managed via vCenter or from vSphere client, you can still use the CLI (on the host itself or via network using SSH or vSphere CLI/RCLI) to partially manage the VMs on the host.

For this to work you must have already enabled the local console, Tech Support Mode and/or SSH access:

Enabling root SSH login on an ESX host (8375637)

Tech Support Mode for Emergency Support (1003677) (ESXi 3.5 and 4.0 only)

Using Tech Support Mode in ESXi 4.1 and ESXi 5.0 (1017910)

Once logged in, you can use these commands to control the VMs. Note that there are differences between ESX and ESXi.

table.score th { border-left: 1px solid #094269;}table.score th.first { border-left: none} tabl  ...
by lunarg on March 19th 2013, at 10:25
The Computer Maintenance service in Windows 7 sometimes has a tendency to automatically remove desktop shortcuts to network locations, which can be really annoying. You can turn off this service locally or via GPO to prevent the shortcuts from being removed automatically.

Through Control Panel → Troubleshooting. On the left, select Change Settings, then choose to disable Computer Maintenance.

The policy setting is located at Computer Configuration\Administrative Templates\system\Troubleshooting and Diagnostics\Scheduled maintenance. Set the policy setting Configure Scheduled Maintenance Behavior to disabled.

Note that you need the Windows 7 (ADMX) Templates (download: http://w  ...
by lunarg on March 18th 2013, at 11:15
Windows Fax has some shortcomings concerning how address lists are being used. The original design was to allow the Windows Fax client to use Outlook's address lists whenever Outlook was installed. However, due to incompatibilities between 32-bit and 64-bit, there are some issues where the fax client would not use Outlook, even though Outlook has been installed properly. Unfortunately, if such is the case, there's no real solution, other than switching the architecture of the OS or upgrading to a newer OS. I've jotted down a short and simple matrix of OS and Office versions to indicate which combination is known to work properly with Outlook's address lists.

table.compatma  ...
by lunarg on March 18th 2013, at 09:28
If Windows Server backup occassionally gives you a timeout, and you get the following error:

The shared protection point operation failed with error 0x81000101.

This error is caused when the volume shadow copy is taking more than 10 minutes and is timing out. You can try to increase the timeout value to fix this issue. This is done by adding a registry key:

Fire up regedit.

Navigate to key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SPP.

Create a new DWORD value with name CreateTimeout, set its value to the number of millis.
For 20 minutes this would be decimal 12000000 (20·60·1000).

Try re-running the backup. The timeout should no longer occur.   ...
by lunarg on March 14th 2013, at 14:38

Use these to set up mobile internet on your device:

  • APN name:
  • Username: base
  • Password: base
by lunarg on March 14th 2013, at 12:16

When you're planning on configuring Fax Services on Server 2008, 2008R2, and their SBS counterparts (SBS 2008 and SBS 2011), it's strongly recommended to install these hotfixes as they resolve intermittent crashes with the Fax Server services.

It's highly recommended to install both hotfixes. On the link above, select the proper hotfix for your version of Windows Server. For SBS-users, select these:

  • SBS 2008 → 2008
  • SBS 2011 → 2008R2
by lunarg on March 14th 2013, at 10:51
The SBS 2011 Fax printer 32-bit drivers currently shipped with SBS 2011 are not compatible with Windows XP. They only work with Vista and newer. Attempting to send a fax on an XP machine with these settings does nothing and no error messages are displayed.

To solve, you can use the driver from SBS 2003 SP2, as these are compatible with the SBS 2011 Fax system. They can be found inside the Windows 2003 SP2 download (see below for detailed instructions), or directly from an SBS 2003 (located in c:\windows\system32\spool\drivers\w32x86\3. The files you need are these:







Most people won't have an SBS 2003 with SP2 anymore.   ...
by lunarg on March 14th 2013, at 09:11

When you've recently changed your password, you will continuously be prompted to type in your password everytime you want to sync, and you don't see an option to always be signed in.

To resolve, you have to select to sign in as a different user, then re-enter your credentials. Signing in as a different user will show the checkbox to enable always be signed in. This method won't affect your synced data.

by lunarg on March 13th 2013, at 11:13

Simple Linux Load is a simple disk and CPU load generator to stress linux servers. I mashed this up when I had to put some load on a machine to troubleshoot issues with it which were only occuring under load.

It consists of two very simple shell scripts, each generating and deleting a 4GB file, and this in a loop.

  • the file is filled with random numbers, and stresses the CPU more than the disk;
  • the file is filled with zeroes, and stresses the disk more than the CPU.

There's no licensing on these scripts. You can do with it whatever you want.

by lunarg on March 5th 2013, at 16:11

You can disable the password expiration for one or more users through Powershell.

$cred = Get-Credential

Connect-MSOLService -credential $cred

Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $true

Note that you need to have the Microsoft Online cmdlets:

by lunarg on February 28th 2013, at 14:38

Add this line to the server config:

push "redirect-gateway def1"
by lunarg on February 23rd 2013, at 11:13
Windows SBS has a nasty habbit of taking forever to shutdown/restart. This is because there's a built-in waiting mechanism to allow enough time for the Exchange-services to shutdown. Unfortunately this delay is usually a whole lot longer than it normally would take if you were to stop the Exchange-services yourself. Because the delay does no longer occur when the Exchange-services are already stopped manually, I usually tend to stop Exchange first, then do the shutdown/restart.

Because Exchange consists of many services, at work, we wrote some helper scripts to stop all Exchange-services with only a mouse click, allowing for a quicker shutdown/restart of a server. I've decided to share thes  ...
by lunarg on February 23rd 2013, at 11:02

It's possible for Synology devices running DSM 3 or higher to enable support for NTFS ACL's. This allows Windows-users to set up Security through Windows Explorer itself. Most of the ACL types are supported.

NTFS ACL's have to be enabled for a share through the web-interface:

by lunarg on February 13th 2013, at 16:41
After upgrading ESXi to 5.1 on an USB device, you may get a warning message stating that the system logs are stored on non-persistent storage.

Since version 5.1, system logs are kept on the default scrap partition. If it's not specified, it defaults to ramdisk, which is non-persistent; upon rebooting, the system logs will be cleared.

To resolve the issue, you can manually specify a location for the logs to be stored. This can be any configured datastore (VMFS or NFS). To configure this, go to the configuration of your ESXi host, Software, Advanced Settings.

In the tree on your left, find the Syslog, global configuration section and enter a datastore name in the field  ...
by lunarg on February 8th 2013, at 14:03

Restarting OpenVPN on the CLI of a pfSense can be done using the following command:

echo "<?php include(''); openvpn_resync_all();?>" | php -q

This issues a restart command as if you would via the web-interface.

by lunarg on January 18th 2013, at 13:10

OpenVPN is finally available on Apple iOS!

This means you will now be able to connect through OpenVPN via your iPhone and iPad devices. It is available through the AppStore:

More info about OpenVPN on pfSense:

by lunarg on January 16th 2013, at 17:57

To get this done, you need to install the proper update, downloaded from

Then, in the application that uses HTML Help, set its compatibility to Windows 98 / Windows Me.

by lunarg on January 10th 2013, at 17:53

You can disable SSL in fetchmail by adding this line to your rc file:

sslproto ssl23

This restricts fetchmail to only use SSLv2 and SSLv3, disabling TLSv1. Note that this will cause the connection to be unencrypted, unless you use a proper SSL plugin, or SSL is requested explicitly.

by lunarg on January 8th 2013, at 17:33

If you're missing one of the required Windows Update services, you can use the attached registry fixes to re-register the services in Windows.

Be sure to check the proper architecture (32/64 bits) and OS version when downloading the registry fixes. Use only as a last resort.
showing all posts