showing all posts
by lunarg on August 4th 2016, at 17:25
Backup of a SQL Server may fail with a VSS error.

From the log, the following message can be found:

One or more errors occurred. ---> Replay.Core.Contracts.Transfer.VssGeneralErrorException: There was a problem with the VSS subsystem on '(agent-machine)l'. ---> Replay.Agent.Contracts.ShadowCopy.ShadowCopyWriterFailedException: The VSS writer 'SqlServerWriter' failed during the 'DoSnapshotSet' phase with error WriterErrorNonRetryable. The VSS writer state is FailedAtPrepareSnapshot ---> Replay.Common.Contracts.ReplayException

In the Application event log on the machine, event 8229 is logged:

Event 8229
A VSS writer has rejected an event with error 0x800423f4, The writer experienc  ...
by lunarg on August 4th 2016, at 10:57

Using ADUC, it can be quite a hassle to find and/or unlock AD accounts. Powershell solves this by providing some neat commands for a system administrator to use.

To list all locked out AD accounts:

Search-ADAccount -LockedOut

To get more info about these accounts, you can do a Full-List:

Search-ADAccount -LockedOut | FL

Furthermore, you can pipe the output to quickly unlock some/all AD accounts:

Search-ADAccount -LockedOut | Unlock-ADAccount
by lunarg on August 3rd 2016, at 18:18

A very good guide on how to configure your Aerohive wireless network to use RADIUS authentication to authenticate users against a Windows Active Directory, and setting network access (VLAN) based on their group membership:

by lunarg on August 2nd 2016, at 12:31
Although the free upgrade period for Windows 10 is over (it ended July 29th 2016), users that require assistive technology still can upgrade their OS to Windows 10 for free. If you have any assistive technology in use, you can benefit from the offer. Microsoft does not restrict to any particular assistive technology, and the upgrade offer period currently has no ending date.

The reason for the extended offer is that there are still numerous AT devices out there that are still not supported on Windows 10. Microsoft extends the offer so that manufacturers have more time making their devices compatible with Windows 10, allowing the end user to still benefit from the free upgrade to Windows 10.  ...
by lunarg on August 2nd 2016, at 09:54

Sometimes, being an Administrator just isn't enough. In that case, try being the SYSTEM account... You can run processes as the local SYSTEM account quite easily with PsExec (64-bit).

Use it as follows:

psexec -i -s cmd.exe

The command above would run a command prompt as the SYSTEM account. You can replace cmd.exe with something else, although from a command prompt, you can basically run anything else, all as the SYSTEM account.

Use with caution
Running processes as the SYSTEM account can be potentially dangerous as you will bypass several built-in security restrictions. But I guess that's the reason why you want to use the SYSTEM account...
by lunarg on August 1st 2016, at 16:36
QNSM stands for Quick Network Share Mounter and is a sort of bookmark and session management tool for network mapped drives. It was specifically designed for the ICT Administrator who visits a lof of different clients and thus, visiting a lot of different network setups. This tool works regardless of remembered passwords and to which domain you belong, and there are many advantages to this "crude" tool.

NOTICE: before reporting bugs, make sure you have the latest version installed.


Advantages and disadvantages

System requirements


Version history

There are two flavours of this tool available:

The installable edition, which is the recommended version for most  ...
by lunarg on July 15th 2016, at 15:28

When running an app, you may encounter the following error:

Application is damaged and can't be opened.

When attempting to reinstall the app, the error persists.

To resolve, try running the following command from a terminal:

sudo xattr -rc /Applications/

Replace with the full path of the application that has the problem.

I had this problem when installing Wineskin Winery on a Mac OS X 10.8.5. A freshly downloaded copy immediately gave the error but after adjusting the attributes on the app, it worked properly.

by lunarg on June 30th 2016, at 13:11
When you migrated your mail from an on-premise Exchange to Office 365, and you did not (yet) uninstall Exchange and/or clean up AD, Outlook will still try to configure itself to connect to the on-premise Exchange when adding a new account, even though Autodiscover has been configured correctly (autodiscover.domain.tld pointing to

The reason for this is in the way how Outlook performs its autodiscovery attempts. The first step in the discovery process is trying to configure the account using Service Connection Point (SCP), which is defined in AD (or in rare cases, in the registry of the computer). As the SCP is still configured in AD/registry, Outlook will use thos  ...
by lunarg on June 27th 2016, at 09:42
If you're looking to uninstall a specific update, you'll find that it's quite tedicious to do this via the GUI. It shows an endless list of updates and it's very difficult to find the right one through its KB number. Fortunately, you can also uninstall updates from the command line, by specifying only its KB number, which is veeerry useful indeed.

Open an elevated command prompt and run the following command to uninstall an update by its KB number:

wusa /uninstall /kb:3035583

Replace the number with the number of the KB you wish to uninstall (the line above would uninstall the Windows 10 Upgrade prompt).

You can also add additional parameters:

wusa /uninstall /kb:3035583 /quiet /noresta  ...
by lunarg on June 21st 2016, at 15:47
For some reason, if an upgrade of an AppAssure/Dell Rapid Recovery Agent is not succesfully completed or cancelled, a subsequent upgrade may fail with the following error message:

Destination path is not empty. Please choose another one.

If an upgrade was cancelled or has failed for some reason, the following upgrade attempt will try to perform a complete installation. Because not all files and/or folders have been removed, the installer will not continue and will display the error message.

To resolve the problem, manually remove the files and folders, but leave any registry keys intact to ensure a proper upgrade without losing any settings.

If it is running, stop the Agent or Core  ...
by lunarg on June 21st 2016, at 15:31
Even when using Exchange SSL certificates that are signed by an internal CA, you will still occasionally have to renew them. Using EAC (https://your-exchange-server/ecp), this should be pretty straightforward, or is it?

After logging on to EAC, and navigating to "Servers" → "Certificates", select the expired certificate, then on the right pane, you can click "Renew" to generate a certificate signing request with all the proper SANs. This CSR can then be used with your internal CA to sign the request and generate a new certificate.

Unfortunately, you will most likely hit a snare: the CSR generated by the Exchange server does not contain any certificate tem  ...
by lunarg on June 20th 2016, at 15:13
Dell has changed the name of its acquired AppAssure to Dell Data Protection Rapid Recovery. AppAssure (latest version is 5.4.3) is no longer being maintained, so upgrading to Rapid Recovery (latest version 6.0.2 at the time of writing) is a requirement for continued support. Fortunately, performing the upgrading is not really difficult, and can be done without too much downtime for your backup.

Additional information, including a compatibility and upgrade matrix can be found here:

How to Upgrade AppAssure 5.4 to Rapid Recovery 6.X (181997)

Dell Support Policy (compatibility matrix for Core and Agent versions)

At the time of writing, the compatibility matrix shows that Agent version 5.4.3  ...
by lunarg on June 9th 2016, at 16:31
Mac OSX creates .DS_Store files on network mapped folders to store metadata (such as position of icons, added comments on files and folders, etc.). On a local (Mac-formatted) disk, these are stored as filesystem metadata, but on network folders, this is not possible, so this data is stored in a file instead. While this file is hidden for Mac-users, Windows-users will immediately spot the file in each folder that's accessed by a Mac. The creation of these metadata files can be turned off for network shares on SMB/CIFS, AFP, NFS, and WebDAV servers.

Open a Terminal, and run the following command:

defaults write DSDontWriteNetworkStores true

This is a user setting s  ...
by lunarg on June 8th 2016, at 14:32

Download links for SQL Server 2012 Service Pack 3, including Express edition:

by lunarg on June 7th 2016, at 15:47

If you lost your group password from the Cisco IPSEC VPN but still have the PCF file, you can use this website to decrypt the encrypted password, located in the file. This is useful if you need to manually configure your VPN client (e.g. on a Mac, you cannot import a PCF file with the native VPN client).

To get the encrypted password, open the PCF file with a text editor (such as Notepad), then look for the line starting with enc_GroupPwd=. Copy everything after the = (if you have wordwrap on, make sure you got the entire line), and paste it in the text box on the website, then click the Decode button.

by lunarg on June 6th 2016, at 16:24
While not recommended, it is possible to use one RDS gateway for multiple RDS farms, each with their own broker. In this case, the RDG must use the same FQDN in all deployments, and you should only make changes to its configuration from only one of the deployments.

In 2012, it is not possible to use one RDS WebAccess to service multiple brokers. It can only be used on a single deployment. Attempting to add the WebAccess server to another deployment will overwrite the configuration of the first deployment.

A better approach would be to create a single deployment with an RDS WebAccess, RDG and broker (single or HA), and add your "different deployments" as collections to the broker.  ...
by lunarg on May 27th 2016, at 17:26

For fresh installations of Windows 10, you can download and use the Windows 10 Media Creator. If it is not an upgrade, you'll need a valid product key.

There's only one version, capable of creating both 32-bit and 64-bit images and in all languages.

by lunarg on May 27th 2016, at 14:14

Found this page very useful when I had to compile some stuff for a Geode LX:

Note: this original post was from May 2007 but someone pointed out to me that the link no longer worked, in an attempt to sell me some web hosting... So... Thanks, but I'm sticking with my current hosting company.

by lunarg on May 26th 2016, at 12:25

Found this very handy WEP key convertor online (HEX to ASCII and back):

showing all posts
« March 2021»
« If the batteries of a TV remote run out, why do we press the buttons so much harder? »