Shrinking VirtualBox VMs Under Windows

Factory Reset Motorola/Symbol WLAN WS5000/WS5100 Switch/Controller

If you loose the administrator password for the Motorola/Symbol Wireless LAN Switch (WS5000 or WS5100) you can factory default the configuration and administrator password with the following procedure.

You’ll need to access the physical DB-9 serial console with a null serial cable. I found the defaults to work at 19200-8-N-1.

Once plugged in you’ll need to login to the console as the username “restore” with the password of “restoreDefaultPassword”. Here’s an example;

WS5100 login: cli

User Access Verification

Username: restore
Password: restoreDefaultPasword

WARNING: This will wipe out the configuration (except license key) and
user data under "flash:/" and reboot the device
Do you want to continue? (y/n): y

After the switch reboots you’ll need to use the default administrator username and password to log into the switch. They are username “admin” and password “Symbol”. Im my case it was admin/symbol but it could be admin/motorola.

Once this is done you can logon via serial using the cli user and then admin/which ever password worked and setup the switch.

Note that due to the age of these, web management cannot be done via https. You’ll need to load an old version of java and connect via http. I’ll try to cover that in another article.

If you’re good at the command line you’re set.

Multimedia Library Server

I’ve always used iTunes to manage my sharing and remote playing of my media library within my home.

As you no doubt know, iTunes sucks at sharing/streaming media. I used iTunes because it was the path of least resistance despite all the verbal abuse I’ve hurled at it…it’s bloated, slow, crashes etc…but that’s a whole different article…. 😉

Enter Plex. My Padawan at work turned me on to the Plex Media Server and my media consumption has been upgraded beyond my wildest imagination.

Continue reading “Multimedia Library Server”

Allow Root to SSH for Ubuntu

This is the most insecure thing you can do to your linux system. That said however, when working on development systems at home I like to logon as SSH. Granted this is behind a firewall to a linux system with no access from the internet.

This was tested on Ubuntu 14.x on a Raspberry Pi.

I do this out of laziness. NEVER do this to an internet accessible system.

Continue reading “Allow Root to SSH for Ubuntu”

CrashPlan and VSS (Volume Shadow Copy) Errors with Fix

I have been getting Volume Shadow Copy (VSS) errors in my Windows Application log every few seconds. I use Crashplan to back up my machine and many others.

I found out that Crashplan stores its cache on my main hard drive, it was several gigs in size.

Since I keep my temp files on a different drive from my OS, I moved the cache to the other drive and the errors ceased.

So If you have a log full of VSS errors, you can try moving your Crashplan cache to another drive. You can change the location by editing the node cachepath in ProgramData\CrashPlan\conf\my.service.xml. Be sure to restart the crash plan service for the change to take.

The VSS errors which I was receiving:

Description:

Volume Shadow Copy Service error: Error calling a routine on the Shadow Copy Provider {b5946137-7b9f-4925-af80-51abd60b20d5}. Routine returned E_INVALIDARG. Routine details GetSnapshot({00000000-0000-0000-0000-000000000000},0000000000358EB0).
Operation:
Get Shadow Copy Properties
Context:
Execution Context: Coordinator

Turns out that VSS was conflicting with CrashPlan. Easy fix but if you’re not looking for it you may miss it and backups may not complete.

Outlook 2011 For Mac Keeps Changing the Exchange Server Address

To update your Exchange 2007 or 2010 server you will need to run the following commands from the Exchange Management Shell and replace the Server running the Client Access Role with your external domain name. These commands update the URL for the Autodiscover service, Exchange Web Services (EWS) and the OWA Web-based Offline Address book respectively.

Before running these commands you will need to check make sure a DNS record exists mapping the IP Address to the Exchange Client Access (CAS) server.

Note: Each of these commands below should be run on a single line in the Exchange Management Shell (EMS):

Set-ClientAccessServer -Identity HostName -AutodiscoverServiceInternalUri https://mail.yourdomain.com/autodiscover/autodiscover.xmlSet-WebServicesVirtualDirectory -Identity "HostName\EWS (Default Web Site)" -InternalUrl https://mail.yourdomain.com/ews/exchange.asmxSet-OABVirtualDirectory -Identity "HostName\oab (Default Web Site)" -InternalUrl https://mail.yourdomain.com/oab

Recycle the IIS Application Pools

Next to make these commands take effect you have to tell IIS to push these changes by recycling the application pools.

  1. Open IIS Manager by clicking Start, then enter inetmgr.
  2. Expand the server and expand Application Pools, then right-click on MSExchangeAutodiscoverAppPool, and select Recycle.

Force Active Directory Sync/Replication With All Partners

From time to time I need to force sync all of my GCs aka DCs. This is a quick way to force everyone to replicate. If you have a lot of GCs this could take a while.

Syntax:
 repadmin /replicate destination_dsa Naming Context /allsources
Example:
 repadmin /replicate server1.test.com dc=test,dc=com /allsources

Destination server Name: server2.test.com
Naming Context: dc=test,dc=com (Domain partition)