If you decide you want to try out Docker on your Windows machine and already have VMWare Workstation installed, you will be in for an unexpected treat the next time you attempt to start one of your VMs:
As it turns out, Docker for Windows relies on Hyper-V (Microsoft's virtualization technology) which is a completely incompatible hypervisor with VMWare. If you do some searching on the VMWare site, they are happy to show you how to totally remove Hyper-V in a knowledge base article.
If you want to do something a little less drastic, and alternate between the two products, you can simply disable Hyper-V.
Disable Hyper-V:
bcdedit /set hypervisorlaunchtype off
reboot Windows
(now VMWare will work, and Docker will not)
Enable Hyper-V:
bcdedit /set hypervisorlaunchtype auto
reboot Windows
(now Docker will work, and VMWare will not)
Make sure to run those commands from a command prompt that has been launched as administrator. Not ideal by any stretch of the imagination, but if you are looking to have both capabilities on a dev workstation, this will get you through...
My hobby notebook, infrequently used. This is primarily to clean off my desktop, but if someone else can make use of any of it, all the better...
Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts
Wednesday, June 27, 2018
Tuesday, March 14, 2017
Installing Bash on Windows 10
The Windows Linux Subsystem (WSL) is now available for beta on Windows 10. Installing it was fairly simple, and included two obligatory reboots.
Start in the Settings app, and open the "For developers settings":
Click the "Developer mode" radio button, and answer "Yes":
After a bit, a prompt will tell you its time to reboot:
After the reboot is finished, use "Programs and Features" to enable WSL:
After a bit, a prompt will tell you its time to reboot (again):
After the reboot is finished, use the start menu to launch "Bash on Ubuntu on Windows" (you will be prompted to accept a license agreement and provide a username/password to create a Linux-based user account):
After a bit more grinding, the installation is complete. Your first order of business will be to right-click | Properties for Bash and change the font to something other than the dreadful default (in my case, back to Lucida Console).
Start in the Settings app, and open the "For developers settings":
Click the "Developer mode" radio button, and answer "Yes":
After a bit, a prompt will tell you its time to reboot:
After the reboot is finished, use "Programs and Features" to enable WSL:
After a bit, a prompt will tell you its time to reboot (again):
After the reboot is finished, use the start menu to launch "Bash on Ubuntu on Windows" (you will be prompted to accept a license agreement and provide a username/password to create a Linux-based user account):
After a bit more grinding, the installation is complete. Your first order of business will be to right-click | Properties for Bash and change the font to something other than the dreadful default (in my case, back to Lucida Console).
Finally, spend a few minutes to upgrade via the usual Linux commands issued in your newly installed bash console:
Windows finally has a "real" Linux console. Here's to hoping it makes it out of beta and gets proper care and feeding going forward...
- sudo apt-get update
- sudo apt-get upgrade
Windows finally has a "real" Linux console. Here's to hoping it makes it out of beta and gets proper care and feeding going forward...
Saturday, February 4, 2017
Filename too long
While recovering data from an old NAS, I encounter a folder that would not delete after being restored on a USB Drive. The error Windows was throwing was:
The filename would be too long for the destination folder. You can shorten the file name and try again...
After a bit of research, the following workaround was used to successfully delete the folder.
The filename would be too long for the destination folder. You can shorten the file name and try again...
After a bit of research, the following workaround was used to successfully delete the folder.
- open a command prompt
- cd into the nested directory folder (i went about half way down)
- subst m: .
- j:
- rmdir /s remaining_folder_name
- c:
- subst /d m:
This effectively assigns part of the large nested directory folder to the m: drive, and allows you to switch to that drive and delete the remaining nested folder.
Wednesday, February 1, 2017
Synology DS716+II NAS File Transfer Slowness from Windows 10
With the Synology DS716+II NAS fully set up for link aggregation (a 2Gbps pipe to the home network), I was expecting great things for my first file transfer. I used a single album music folder (mp4 files, about a dozen songs) as a test upload, and dragged/dropped it onto the network share, then waited... and waited some more - it was horrendous. After 5 minutes, I cancelled the copy and began my usual ritual of cursing technology and every IT commercial vendor that came to mind. Per the Windows file transfer window, I was getting just around a 150Kb/s transfer rate.
The Synology Knowledge Base was fairly useless, and basically instructed you to make sure that your device was plugged in and you were not running any software which would consume CPU on your NAS.
I am not a network engineer by trade, but have played around with it enough to know that its just as much black magic and voodoo as it is science. There are so many variables in play and parts that can go wrong, that its always a time consuming effort to track a problem to ground, and this was no exception. I spent a number of hours working different combinations of switch settings (with/without link aggregation, MTU sizing, etc, etc), swapping out cables, rebooting devices, and if had a goat in my possession, the poor fella would have been sacrificed as well in attempts to appease the network gods.
Ultimately, the problem was traced to Windows 10.
Your mileage may vary, but for my network and workstation configuration, this configuration completely resolved my issue and pushed my transfer speeds from 100 Kb/s up to the neighborhood of 90 MB/s.
Control Panel | Network and Sharing Center | Change Adapter Settings | Ethernet (or your NIC here), then click Properties:
Then click Configure...:
Then switch to the Advanced tab:
Change Speed & Duplex from "auto negotiation" to "1.0 Gbps Full Duplex". This instantly fixed my transfer speed issue (not even a reboot required). The new transfer speeds can be seen below, and are much more in line with what I was expecting from a modern NAS.
The Synology Knowledge Base was fairly useless, and basically instructed you to make sure that your device was plugged in and you were not running any software which would consume CPU on your NAS.
I am not a network engineer by trade, but have played around with it enough to know that its just as much black magic and voodoo as it is science. There are so many variables in play and parts that can go wrong, that its always a time consuming effort to track a problem to ground, and this was no exception. I spent a number of hours working different combinations of switch settings (with/without link aggregation, MTU sizing, etc, etc), swapping out cables, rebooting devices, and if had a goat in my possession, the poor fella would have been sacrificed as well in attempts to appease the network gods.
Ultimately, the problem was traced to Windows 10.
Your mileage may vary, but for my network and workstation configuration, this configuration completely resolved my issue and pushed my transfer speeds from 100 Kb/s up to the neighborhood of 90 MB/s.
Control Panel | Network and Sharing Center | Change Adapter Settings | Ethernet (or your NIC here), then click Properties:
Then click Configure...:
Then switch to the Advanced tab:
Change Speed & Duplex from "auto negotiation" to "1.0 Gbps Full Duplex". This instantly fixed my transfer speed issue (not even a reboot required). The new transfer speeds can be seen below, and are much more in line with what I was expecting from a modern NAS.
Synology DS716+II NAS using Link Aggregation
With the new Synology NAS set up and running with a default configuration, it was time to move on to a bit of customization.
First up was to address the networking. The DS716 comes with two NICs, but with the default configuration, both are addressed separately using DHCP. The network switch we have supports link aggregation, so that was implemented first on the switch, then on the NAS.
Mileage may vary depending on your switch, but for the Cisco SG200-26, the settings below can be used to convert two ports on the switch into a Link Aggregation Group (LAG).
First up was to address the networking. The DS716 comes with two NICs, but with the default configuration, both are addressed separately using DHCP. The network switch we have supports link aggregation, so that was implemented first on the switch, then on the NAS.
Mileage may vary depending on your switch, but for the Cisco SG200-26, the settings below can be used to convert two ports on the switch into a Link Aggregation Group (LAG).
On the NAS, converting to a static IP and bonding the ports was a two step process. For step 1, using the Synology console (Control Panel | Network | Network Interface) for network management, modify the first link, unchecking DHCP and selecting your desired static IP address. For the second step, choose the option Create | Create Bond and chose the option for IEEE 802.3ad dynamic link aggregation. After applying, this will grind for a bit, then you should be successfully setup for a link aggregated connection (see below).
Now on the network with a 2 Gbps pipe, the NAS should have been cruising, but was actually moving at a snails pace. The solution to this is documented in the next post.
Setup of a new Synology DS716+II NAS
After many years of good service, the Western Digital DX4000 NAS on our network decided it was ready for retirement:
Yes, this NAS has dual-NICs, and yes, both of them decided to quit on the same day. More on that and the upcoming recovery in another post (at least the hard drives are still good)...
After a bit of research, a new NAS was selected, the Synology DS716+II:
After many years in RAID5, we are moving back to RAID1 (mirroring) using Seagate 8TB Ironwolf NAS SATA drives, with a local backup to a WD USB 8TB drive, as well as a cloud backup to Amazon (which is natively supported by the Synology). This will help keep the drive count down (as well as cost), will be easier to recover (if the chassis fails, only one drive to recover), and the local USB plus cloud backup should be more than ample for fault tolerance.
Setup went fine, and was fairly uneventful for out-of-the-box configuration. I will document the network configuration (link aggregation) as well as some Windows oddities in the next post.
Yes, this NAS has dual-NICs, and yes, both of them decided to quit on the same day. More on that and the upcoming recovery in another post (at least the hard drives are still good)...
After a bit of research, a new NAS was selected, the Synology DS716+II:
After many years in RAID5, we are moving back to RAID1 (mirroring) using Seagate 8TB Ironwolf NAS SATA drives, with a local backup to a WD USB 8TB drive, as well as a cloud backup to Amazon (which is natively supported by the Synology). This will help keep the drive count down (as well as cost), will be easier to recover (if the chassis fails, only one drive to recover), and the local USB plus cloud backup should be more than ample for fault tolerance.
Setup went fine, and was fairly uneventful for out-of-the-box configuration. I will document the network configuration (link aggregation) as well as some Windows oddities in the next post.
Tuesday, April 22, 2014
iTunes 11 - Hiding Cloud Content
Sometimes you just don't want to see all of your online media; in those cases, open the iTunes 11 application and perform the following steps:
- Edit | Preferences
- Store Tab
- uncheck Show iTunes in the Cloud purchases
Saturday, October 19, 2013
Upgrading to Windows 8.1
According to the pressers, Windows 8.1 would contain the feature to allow you to boot directly to the desktop (bypassing the tiles screen), which for me, made it worth the cost of admission (its a free upgrade, but lets not discount the value of personal time). For the time being lets put aside the discussion that the most important feature of the 8.1 release was the inclusion of functionality to bypass the core selling point for the 8.0 release...
I took the option of using the Windows store to install the upgrade, and by and large it went on clean and without any technical hiccups. There was, however, one absolutely infuriating feature which required linking my existing local account to a "Microsoft account" (ie - hotmail) as part of the install. Requiring information such as that is fine for free sites/apps, but we were counting on Microsoft to be the "software equivalent of the adult in the room", and just allow us to use our paid software in the manner of our choosing. Even the much advertised "Start menu" button return is a bit of a kludge (it looks like they spent five minutes building the attached menu UI). Heading down this path proves again that the cleansing at Redmond is still not complete, and more purging of upper management is required to get this company back on track - they clearly haven't learned the appropriate lessons from the 8.0 fiasco.
In any event, I took the following steps to return my new 8.1 PC "back to normal" and find that without the requirement to boot to the tiles screen, I can now almost pretend that the monstrosity does not exist.
After almost a year under my belt in Windows 8 (including betas and such), and honestly really trying to like it and find a way to live with it, I find myself looking forward and hoping that Windows 9 will return to the ways of Windows 7, and back to a fully functional desktop operating system. This foray into trendy tablet UI features on a desktop has proven a miserable failure, and I find myself ready for the experiment to end.
I took the option of using the Windows store to install the upgrade, and by and large it went on clean and without any technical hiccups. There was, however, one absolutely infuriating feature which required linking my existing local account to a "Microsoft account" (ie - hotmail) as part of the install. Requiring information such as that is fine for free sites/apps, but we were counting on Microsoft to be the "software equivalent of the adult in the room", and just allow us to use our paid software in the manner of our choosing. Even the much advertised "Start menu" button return is a bit of a kludge (it looks like they spent five minutes building the attached menu UI). Heading down this path proves again that the cleansing at Redmond is still not complete, and more purging of upper management is required to get this company back on track - they clearly haven't learned the appropriate lessons from the 8.0 fiasco.
In any event, I took the following steps to return my new 8.1 PC "back to normal" and find that without the requirement to boot to the tiles screen, I can now almost pretend that the monstrosity does not exist.
- Disconnecting my local account after the completion of the install
- Control Panel | User Accounts | Make changes to my account in PC settings
- While on the configuration screen, press the DISCONNECT button
- Remove the atrocious new lock screen image
- Again, not sure what they are thinking here, but the new image is horrid. Back to the 8.0 image...
- Charm Menu | Settings | Change PC Settings | Lock Screen
- Boot directly to the desktop
- On the desktop, right click the task bar and choose Properties
- On the navigation tab, select "When I sign in..."
- Upgrade VMWare Player
- After the 8.1 upgrade, Player 5.0.1 could no longer connect to the network from Virtual Machines
- VMWare | Player | Help | Software Updates
- As luck would have it, a reboot was not even required for this upgrade. All appears well in Player 6.
After almost a year under my belt in Windows 8 (including betas and such), and honestly really trying to like it and find a way to live with it, I find myself looking forward and hoping that Windows 9 will return to the ways of Windows 7, and back to a fully functional desktop operating system. This foray into trendy tablet UI features on a desktop has proven a miserable failure, and I find myself ready for the experiment to end.
Thursday, May 2, 2013
Launching Amazon EC2 Instances
Before continuing with development, I tested out my new Amazon AWS account by launching both a Linux and Windows micro instance. From start to finish, each took about 10-15 minutes (including the launch wizard, waiting for the instance to spin up, logging in, and finally termination). Amazon has instructions posted online, but the wizard is fairly idiot-proof. The only thought process involved is in connecting to the instance, and even that has been made fairly simple.
The Linux micro instance was the first to get launched. Starting from the Amazon console, I switched into the EC2 dashboard. It wasn't until I was over half way through the process that I realized I was defaulting to the US West (Oregon) region; I'll need to make note of that for the future (the instance responsiveness was fine even though I'm sitting on the opposite coast). The Amazon provided documentation was adequate to get up and running. I stepped through the New Instance wizard, and selected an Ubuntu distribution:
I accepted the defaults, with the following exceptions:
For this one I did keep the defaults, however, making a note to visit the URL above to figure out what this instance tagging is used/good for.
For the firewall configuration, I created a new rule to allow SSH only (this canned group should be ready for re-use next time).
After completing the wizard, the new Linux server started up in about 5-10 minutes:
I right-clicked the instance and attempted the Connect option. This worked as well as could be expected for a terminal window run through a browser. It was functional, but just no substitute for PUTTY. The only catch to connecting through PUTTY is to remember to populate your security keys (which I had previously converted to *.ppk format) within SSH | Auth. Once PUTTY connected, I used the username "ubuntu" and logged in without issue (or password, keys are clearly working).
Finally I exited the PUTTY session and terminated the instance. From the same right-click menu in EC2:
choose terminate and wait until the console reflects the destruction of the instance. I'm not entirely sure of the full scope of differences between terminate and stop, although did find this documentation that I'll need to go through at a later date.
The Windows 2008R2 micro instance performed just as smoothly. The official amazon documentation was again comprehensive for a beginner, and the only significant difference in the startup wizard (vice Linux) was specifying 3389/RDP as the firewall configuration setting.
Logging in was indeed different, using Remote Desktop vice PUTTY. The process begins with right-clicking the instance and retrieving the password:
and then decrypting the password with the *.pem key pair. With an administrator username and password now in hand, I logged in using the standard Remote Desktop Connection tool which ships with Windows 8. I completed this test by terminating the Windows instance.
I did not perform a shutdown from within Windows before terminating (because as I understand it, terminating effectively destroys the instance, so who cares if it shuts down cleanly), but will need to revisit that in the future as instances are created that I care about.
As a final step, I used the Amazon console and jumped to the Account Activity report, just to verify that all the compute time was included in the free trial (and I didn't launch the wrong instances).
Overall, things could not have been easier. Now all I need to do is come up with a sample application to build and deploy, just to exercise the environment a little more thoroughly.
The Linux micro instance was the first to get launched. Starting from the Amazon console, I switched into the EC2 dashboard. It wasn't until I was over half way through the process that I realized I was defaulting to the US West (Oregon) region; I'll need to make note of that for the future (the instance responsiveness was fine even though I'm sitting on the opposite coast). The Amazon provided documentation was adequate to get up and running. I stepped through the New Instance wizard, and selected an Ubuntu distribution:
I accepted the defaults, with the following exceptions:
For this one I did keep the defaults, however, making a note to visit the URL above to figure out what this instance tagging is used/good for.
For the firewall configuration, I created a new rule to allow SSH only (this canned group should be ready for re-use next time).
After completing the wizard, the new Linux server started up in about 5-10 minutes:
I right-clicked the instance and attempted the Connect option. This worked as well as could be expected for a terminal window run through a browser. It was functional, but just no substitute for PUTTY. The only catch to connecting through PUTTY is to remember to populate your security keys (which I had previously converted to *.ppk format) within SSH | Auth. Once PUTTY connected, I used the username "ubuntu" and logged in without issue (or password, keys are clearly working).
Finally I exited the PUTTY session and terminated the instance. From the same right-click menu in EC2:
choose terminate and wait until the console reflects the destruction of the instance. I'm not entirely sure of the full scope of differences between terminate and stop, although did find this documentation that I'll need to go through at a later date.
The Windows 2008R2 micro instance performed just as smoothly. The official amazon documentation was again comprehensive for a beginner, and the only significant difference in the startup wizard (vice Linux) was specifying 3389/RDP as the firewall configuration setting.
Logging in was indeed different, using Remote Desktop vice PUTTY. The process begins with right-clicking the instance and retrieving the password:
and then decrypting the password with the *.pem key pair. With an administrator username and password now in hand, I logged in using the standard Remote Desktop Connection tool which ships with Windows 8. I completed this test by terminating the Windows instance.
As a final step, I used the Amazon console and jumped to the Account Activity report, just to verify that all the compute time was included in the free trial (and I didn't launch the wrong instances).
Overall, things could not have been easier. Now all I need to do is come up with a sample application to build and deploy, just to exercise the environment a little more thoroughly.
Saturday, March 2, 2013
Quicken 2013 bugs and annoyances
It has been three years since my last Quicken update, and due to the upgrade blackmail that Intuit has in place (stopping support for online transactions after three years), I again found myself in the position of needing to upgrade. The deluxe version of any given year always seems to provide everything I need in a "home accounting package", and the $30 is not overly burdensome on the home budget; Its really just the principal of the whole forced upgrade that rubs me wrong. I really should spend the time and migrate to an online solution, but now that Intuit owns Mint.com as well, I'm really not sure its worth the hassle and extra risk of keeping everything online.
Like most purchases these days, I purchased the product through Amazon.com, and this time there was even an option to download the binaries directly from amazon (ie - no DVD to collect dust on my desktop). The opinions on amazon for this 2013 upgrade have been fairly abysmal; lots of problems, bugs, etc. Generally speaking the product has not changed significantly this century, so it always surprises me how many bugs they can introduce in any given release; perhaps they need to upgrade the college interns they have working on their baseline.
As luck would have it, I waited until the very end of my Quicken 2010 lifespan before upgrading, which seems to have been prudent again; the amazon download started me out on release 10 (r10) of Quicken 2013, and within a few days, there has already been an r11. Again, on a product that has basically been a static release for 20+ years, I'm not sure how they manage to create so many darn bugs.
My upgrade seems to have gone smoother than most (and that I attribute to starting on the 10th revision of their software). There was one annoyance I encountered: after upgrading, when I performed "One Step Update" to sync my accounts, I saw two accounts in the list have been gone and disabled for years that had magically come back to life.
After a bit of digging, I found the workaround on the Quicken support site:
How to Remove a Bank Name from One Step Update Settings
Walking through these steps successfully removed my old accounts, but I'm still a bit miffed over the fact that the upgrade re-introduced old accounts into my update settings...
Like most purchases these days, I purchased the product through Amazon.com, and this time there was even an option to download the binaries directly from amazon (ie - no DVD to collect dust on my desktop). The opinions on amazon for this 2013 upgrade have been fairly abysmal; lots of problems, bugs, etc. Generally speaking the product has not changed significantly this century, so it always surprises me how many bugs they can introduce in any given release; perhaps they need to upgrade the college interns they have working on their baseline.
As luck would have it, I waited until the very end of my Quicken 2010 lifespan before upgrading, which seems to have been prudent again; the amazon download started me out on release 10 (r10) of Quicken 2013, and within a few days, there has already been an r11. Again, on a product that has basically been a static release for 20+ years, I'm not sure how they manage to create so many darn bugs.
My upgrade seems to have gone smoother than most (and that I attribute to starting on the 10th revision of their software). There was one annoyance I encountered: after upgrading, when I performed "One Step Update" to sync my accounts, I saw two accounts in the list have been gone and disabled for years that had magically come back to life.
After a bit of digging, I found the workaround on the Quicken support site:
How to Remove a Bank Name from One Step Update Settings
Walking through these steps successfully removed my old accounts, but I'm still a bit miffed over the fact that the upgrade re-introduced old accounts into my update settings...
Saturday, February 2, 2013
Updating UEFI BIOS Settings
Whenever Asus offers a motherboard BIOS update for my workstation, I usually need to rediscover the following settings which I inevitably forget to reset. One of these makes VMWare upset, causing it to throw warnings that lead to the following knowledge base note.
Note to self for the future:
Motherboard: Asus P8Z77-V Deluxe
Processor: Intel Core i7-3770K @ 3.50GHz
To update the BIOS, press F2 while rebooting to get into setup, and then switch to the advanced configuration mode screen. Modify the following settings:
Note to self for the future:
Motherboard: Asus P8Z77-V Deluxe
Processor: Intel Core i7-3770K @ 3.50GHz
To update the BIOS, press F2 while rebooting to get into setup, and then switch to the advanced configuration mode screen. Modify the following settings:
- Advanced | CPU Configuration | Intel Virtualization Technology [ENABLED]
- Monitor | CPU Fan Speed Low Limit [300RPM]
Saturday, January 12, 2013
Getting Started with the Arduino Uno R3 and Windows 8
Continuing on with my Windows 8 growing pains, I encountered issues just attempting to install the driver for the Arduino R3 board. After following the basic steps which worked fine in Win7, you are greeted with: Arduino UNO R3, The third-party INF does not contain digital signature information.
After a little online dumpster diving, I found the solution on the Arduino forums in a post from Louis Davis in March 2012 (appears to be during the Win8 beta based on the date). The key to the solution is to disable the Win8 default requirement for all drivers to be digitally signed. The steps are basically the same today, although Microsoft rearranged the menus a bit since that time. The following are the steps I followed to get the drivers installed:
select Advanced options
select Startup Settings
press the Restart button
The system will now reboot with the driver digital signature options disabled.
From this point, you can proceed with the normal Arduino install procedures. Note that under Win8, the initial device appears under "Other devices", not under "COM & LPT" as seen below.
Right click the Unknown Device and choose update drivers, then select the driver directory (and disable the feature to include subfolders):
With driver enforcement now disabled in Win8, you will be given the following option:
And after selecting "Install this driver software anyway", the installation will complete as expected:
After a little online dumpster diving, I found the solution on the Arduino forums in a post from Louis Davis in March 2012 (appears to be during the Win8 beta based on the date). The key to the solution is to disable the Win8 default requirement for all drivers to be digitally signed. The steps are basically the same today, although Microsoft rearranged the menus a bit since that time. The following are the steps I followed to get the drivers installed:
- From the Win8 desktop, run (Windows Key + R) the following command:
- Windows will restart to a options screen, navigate as follows:
select Advanced options
select Startup Settings
press the Restart button
- The system will reboot to a Startup Settings menu
The system will now reboot with the driver digital signature options disabled.
From this point, you can proceed with the normal Arduino install procedures. Note that under Win8, the initial device appears under "Other devices", not under "COM & LPT" as seen below.
Right click the Unknown Device and choose update drivers, then select the driver directory (and disable the feature to include subfolders):
With driver enforcement now disabled in Win8, you will be given the following option:
And after selecting "Install this driver software anyway", the installation will complete as expected:
Monday, December 31, 2012
Making the Intuos4 work with Windows 8 and Adobe Photoshop CS5
The pain of early Windows 8 adoption continued with the realization that my Wacom Intuos4 tablet no longer appeared to be functioning properly from within Adobe Photoshop CS5. Specifically, the pressure sensitive features on the brush no longer seemed to have an effect, and there was this annoying little "radar blip" that would form every time the pen would touch the surface of the Intuos.
A little online digging revealed this is a known issue, and apparently has something to do with the new pen tablet functionality integrated into the Win8 OS. While Wacom works on a proper driver patch, implementing the steps below (pulled from here and here) followed by a reboot seemed to do the trick. Note that these involve a few registry hacks, so the usual disclaimers apply about bricking your box if you step on a landmine while in the registry...
"TurnOffPenFeedback"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\TabletPC]
"TurnOffPenFeedback"=dword:00000000
Cursors- Turn off pen feedback set to "Enable"
Hardware buttons - Prevent Press and Hold set to "Enable"
to the longest possible setting (all the way right) and the duration to shortest setting (all the way left). Do not the disable press and hold setting, as you will get lag dragging and scrolling.
Modify the key ContactVisualisation from 1 to 0
Modify the key GestureVisualisation from 1F (31) to 0
After applying the steps above, the tablet now appears to be behaving properly...
A little online digging revealed this is a known issue, and apparently has something to do with the new pen tablet functionality integrated into the Win8 OS. While Wacom works on a proper driver patch, implementing the steps below (pulled from here and here) followed by a reboot seemed to do the trick. Note that these involve a few registry hacks, so the usual disclaimers apply about bricking your box if you step on a landmine while in the registry...
- Create the following keys using regedit.exe
"TurnOffPenFeedback"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\TabletPC]
"TurnOffPenFeedback"=dword:00000000
- Modify group policy (GPEdit.msc) to disable dynamic pen options
Cursors- Turn off pen feedback set to "Enable"
Hardware buttons - Prevent Press and Hold set to "Enable"
- Modify the Control Panel | Pen and Touch settings
to the longest possible setting (all the way right) and the duration to shortest setting (all the way left). Do not the disable press and hold setting, as you will get lag dragging and scrolling.
- Modify the Control Panel | Wacom Tablet Properties settings
- Modify the following keys using regedit.exe
Modify the key ContactVisualisation from 1 to 0
Modify the key GestureVisualisation from 1F (31) to 0
After applying the steps above, the tablet now appears to be behaving properly...
Monday, August 27, 2012
Reconfiguring the WD Sentinel DX4000 to use a Fixed IP Address
Like all new devices on the network, the WD Sentinel decided to be grumpy about a few things, its DCHP lease being one of them. Every 12 hours or so, I observed the following in the server logs:
With the details from Event Viewer being consistently along the lines of:
or
After a bit of research, I stumbled across the following issue thread on the Netgear forums. It appears that the WNDR4000 (the network device hosting the WD Sentinel) has a known issue with DHCP renewals - well, at least known to the user community, it would appear based on the age of this thread that Netgear has chosen not to fix this problem.
In attempts to bypass the problem, the WD Sentinel DX4000 was reconfigured from DHCP to a static IP address, per a discussion thread found on the Western Digital forums which led to the following set of directions from the vendor. The update was a fairly standard TCP/IP configuration change for Windows (the DX4000 host OS), although WD uses an interesting NIC "team configuration" which I was unfamiliar with. After following the directions and rebooting the device, it came up fine with its new static IP address. I'll monitor the drive over the next few days and verify that this removes the network warnings from the system Event Viewer, but fairly certain this should solve the problem.
With the details from Event Viewer being consistently along the lines of:
or
After a bit of research, I stumbled across the following issue thread on the Netgear forums. It appears that the WNDR4000 (the network device hosting the WD Sentinel) has a known issue with DHCP renewals - well, at least known to the user community, it would appear based on the age of this thread that Netgear has chosen not to fix this problem.
In attempts to bypass the problem, the WD Sentinel DX4000 was reconfigured from DHCP to a static IP address, per a discussion thread found on the Western Digital forums which led to the following set of directions from the vendor. The update was a fairly standard TCP/IP configuration change for Windows (the DX4000 host OS), although WD uses an interesting NIC "team configuration" which I was unfamiliar with. After following the directions and rebooting the device, it came up fine with its new static IP address. I'll monitor the drive over the next few days and verify that this removes the network warnings from the system Event Viewer, but fairly certain this should solve the problem.
Saturday, August 11, 2012
CD Spring Cleaning... in August
With the mighty THOR (DX4000) online and hard drive space more than plentiful, I took the opportunity for a bit of belated electronic spring cleaning. We all have that pile of software CDs that we'll probably not need again, but refuse to get rid of (because as soon as you do, you'll need them of course)...
In my case, its some old Dell drivers, peripheral support, etc. Most likely any new reinstalls would have me downloading the newest versions, but nonetheless, I have trouble parting with originals. So, to solve this problem, I made ISO backups of the CDs, and tossed the physical media.
Having Windows 7 on my primary workstation (and being too lazy to walk to the Linux box), I needed to find something to copy the CDs to an image. A few Google queries later, I was installing the most recent version of Infrarecorder.
The interface is fairly idiot-proof, and building the backups could not have been easier.
An hour later, all the CDs were stored on the DX4000, and my desk was feeling a bit cleaner.
In my case, its some old Dell drivers, peripheral support, etc. Most likely any new reinstalls would have me downloading the newest versions, but nonetheless, I have trouble parting with originals. So, to solve this problem, I made ISO backups of the CDs, and tossed the physical media.
Having Windows 7 on my primary workstation (and being too lazy to walk to the Linux box), I needed to find something to copy the CDs to an image. A few Google queries later, I was installing the most recent version of Infrarecorder.
The interface is fairly idiot-proof, and building the backups could not have been easier.
An hour later, all the CDs were stored on the DX4000, and my desk was feeling a bit cleaner.
Sunday, July 29, 2012
WD Sentinel DX4000 12TB Backup Plan
Over the years I've learned the lesson (the hard way) that data without a backup has a funny way of being lost - call it Murphy's Law as applied to storage - any files that can go wrong, will go wrong, and usually at the most inopportune time.
To that end, with 12TB of new storage on the network (WD Sentinel DX4000), I needed to get an automated backup plan in place; One of the other things I've learned over the years is that when it comes to backups, I'm lazy - if I don't automate, I don't backup.
Fortunately, data storage has never been cheaper (one could argue that sentence applies in more ways than one). I ordered a Western Digital My Book Essential 3TB through Amazon.com to be the primary backup location for the most critical data on the network. There were a number of similar products on the market, but this one was chosen primarily for 1) cost and size, and 2) the hope that perhaps two products from the same vendor will coexist better than others. Since the DX4000 has two USB ports available on its case, connecting the device was easy.
To perform the actual backups, software was needed. The DX4000 ships with a product which (for a fee of course) will backup data to the internet. However, with a few TB in play, that solution would be too time consuming/costly. Since the DX4000 is running Windows Storage Server, its possible to use a Remote Desktop Connection to log into the box. Doing that, I installed a copy of Cobian Backup (v11 Gravity) on the DX4000, a backup package I've used for a number of years without issue. It has a small installation footprint, and is easily configured to do full backups.
A number of Cobian scheduled tasks later, the DX4000 was setup for nightly backups of critical data directories - all for about $150 and about 1 hour of time.
To that end, with 12TB of new storage on the network (WD Sentinel DX4000), I needed to get an automated backup plan in place; One of the other things I've learned over the years is that when it comes to backups, I'm lazy - if I don't automate, I don't backup.
Fortunately, data storage has never been cheaper (one could argue that sentence applies in more ways than one). I ordered a Western Digital My Book Essential 3TB through Amazon.com to be the primary backup location for the most critical data on the network. There were a number of similar products on the market, but this one was chosen primarily for 1) cost and size, and 2) the hope that perhaps two products from the same vendor will coexist better than others. Since the DX4000 has two USB ports available on its case, connecting the device was easy.
To perform the actual backups, software was needed. The DX4000 ships with a product which (for a fee of course) will backup data to the internet. However, with a few TB in play, that solution would be too time consuming/costly. Since the DX4000 is running Windows Storage Server, its possible to use a Remote Desktop Connection to log into the box. Doing that, I installed a copy of Cobian Backup (v11 Gravity) on the DX4000, a backup package I've used for a number of years without issue. It has a small installation footprint, and is easily configured to do full backups.
A number of Cobian scheduled tasks later, the DX4000 was setup for nightly backups of critical data directories - all for about $150 and about 1 hour of time.
Saturday, July 28, 2012
Windows 7 Explorer Bug
While rebuilding the network shares at Spare Time Notebook (thanks to the newly provisioned 12TB WD DX4000), I've decided to take the time to pull out a broom and sweep up 10 years worth of file server accretion.
While the rearranging the furniture, I've found myself repeatedly seeing the following error (although never being able to nail down its exact cause, as it seems to manifest in slightly different ways, and with a few variations of complaints):
Since I'm quite certain the folder is not open in another program (and went through the usual set of 101 procedures to resolve the issue), it seemed there was something else going on.
After a few queries to the all knowing Google, it seems this behavior is due to a bug in the Windows 7 Explorer that has never been patched (not sure if Redmond has the college interns supporting Explorer these days or what, I find it hard to believe something like this would be ignored). The best discussion I've found on this topic is found here, where the problem and a few workarounds are provided.
My workaround preference (without changing any global OS and/or folder properties) is as follows:
While the rearranging the furniture, I've found myself repeatedly seeing the following error (although never being able to nail down its exact cause, as it seems to manifest in slightly different ways, and with a few variations of complaints):
Since I'm quite certain the folder is not open in another program (and went through the usual set of 101 procedures to resolve the issue), it seemed there was something else going on.
After a few queries to the all knowing Google, it seems this behavior is due to a bug in the Windows 7 Explorer that has never been patched (not sure if Redmond has the college interns supporting Explorer these days or what, I find it hard to believe something like this would be ignored). The best discussion I've found on this topic is found here, where the problem and a few workarounds are provided.
My workaround preference (without changing any global OS and/or folder properties) is as follows:
- After receiving one of the usual suspect error windows, I cancel out of the dialog
- Take Explorer out of Details view and put it into Content view
- Attempt to Move/Delete/etc. the directory again - this time, all will be well
Monday, July 23, 2012
WD Sentinel DX4000 12TB
At Spare Time Notebook, we treat computer hardware like we treat our cars - we buy the biggest/best we can at the time, and then run them until they fall apart. To that end, the old Windows 2003 Server built circa 2004 was fast approaching retirement. With 2TB of RAID5 storage, it served admirably over its years, but as of late, was really starting to show its age.
While investigating a replacement, I ran through a number of options:
The new drive selected was the Western Digital Sentinel DX4000 12TB. For its cost point, it had the best options available and would fit seamlessly into my existing network (since unlike many options, the DX4000 runs Windows Storage Server vice an embedded flavor of Linux). With four 3TB drives, it will result in just about 9TB of storage (effectively losing a to RAID5 parity).
When the device arrived, I was pleasantly surprised by the "heft factor" - the DX4000 has some weight behind it (a surprising ratio of metal to plastic in its construction). It feels sturdy, and with its black finish, really looks the part of an office-oriented NAS.
The pictures below show the device next to a CyberPower 1000VA UPS. With the new setup, I'm hoping for years of uninterrupted storage service.

While investigating a replacement, I ran through a number of options:
- building a full replacement server
- building a NAS
- purchasing a NAS off the shelf
The new drive selected was the Western Digital Sentinel DX4000 12TB. For its cost point, it had the best options available and would fit seamlessly into my existing network (since unlike many options, the DX4000 runs Windows Storage Server vice an embedded flavor of Linux). With four 3TB drives, it will result in just about 9TB of storage (effectively losing a to RAID5 parity).
When the device arrived, I was pleasantly surprised by the "heft factor" - the DX4000 has some weight behind it (a surprising ratio of metal to plastic in its construction). It feels sturdy, and with its black finish, really looks the part of an office-oriented NAS.
The pictures below show the device next to a CyberPower 1000VA UPS. With the new setup, I'm hoping for years of uninterrupted storage service.

Friday, July 6, 2012
Windows 8 Keyboard Shortcuts
I haven't had much time to work with the Windows 8 Preview VM (documented here), but thanks to Patrick Norton and the folks at Tekzilla in Episode 337 for highlighting a few common shortcuts:
| Windows | Bring up the metro desktop |
| Windows + C | Bring up the charms menu |
| Windows + D | Bring up the legacy desktop |
| Windows + I | Bring up the settings menu |
Wednesday, June 6, 2012
Installing Windows 8 Preview in VMWare Player
Its always important to know what our Microsoft overlords have in store for us in the next OS. With the Windows 8 release coming soon, I've been long overdue to get a local copy in order to "kick the tires".
The release preview was just made public, so I downloaded a copy of the ISO from the following location:
Windows 8 Release Preview ISO
Before you leave the download page, make sure to copy the product key. Its buried in the text, right beneath the download links, and you'll need it for the install.
After downloading was complete, it was time to install the image. Unfortunately, VMWare doesn't have Windows 8 in the OS picklist yet, so you need to jump through a few hoops in order to get it installed. Luckily, this path was already paved by others, and thanks to the internet, there was already a well documented procedure at this site.
The major steps are:
After restarting the VM, I was a bit surprised that I needed to login to the OS with my hotmail account. This was a departure from the last 20 years of Windows, and I haven't decided whether I'm ok with that change (when you change your email address, its just one more thing that will need to be done).
The first thing which you'll notice (how can you not) is the new desktop:
I'm not sure I want my desktop looking like a tablet. Where I can see where it could be useful to the "just checking my email/web" crowd, as a power user, its going to take quite a few custom widgets (or whatever those new tile things are called) to get the desktop to a place where I think I could be happy with it. Initial thoughts have me wondering how I'll work with all my common development tools, as well as what in the world am I going to do with all the shortcuts that I tend to keep on my desktop.
There is an initial tile (lower left) for launching a "legacy Windows desktop", but it has really been decimated; the most painful loss being the lack of a Start menu. I'm really not sure what they are thinking here - go ahead and default to the new metro interface, but why in the world would you take away the security blanket of the good old start menu. I guess it won't be long before the web is crawling with start menu replacement apps (maybe not a bad thing). It seems odd that they would make such a radical change to the screen with the Metro UI, but then leave the desktop (but only in a neutered state). It seems like they had the option to go all in and ditch the desktop completely, but backed-out of that thought process about halfway through development. Another initial point of confusion was how to get back to the main screen (ie - once you dive into email, how do you get out), which trial-and-error gave the answer: pressing the "Windows" key.
My initial impression is mixed. The Metro UI is attractive (the less is more theory of UI) and seems quite responsive (wondering how that will that scale to a large number of tiles), but I'm concerned that its going to be a major hassle changing my work habits to operate within the new model, and whether I'll lose any critical features in the process.
I'll keep experimenting as time allows...
The release preview was just made public, so I downloaded a copy of the ISO from the following location:
Windows 8 Release Preview ISO
Before you leave the download page, make sure to copy the product key. Its buried in the text, right beneath the download links, and you'll need it for the install.
After downloading was complete, it was time to install the image. Unfortunately, VMWare doesn't have Windows 8 in the OS picklist yet, so you need to jump through a few hoops in order to get it installed. Luckily, this path was already paved by others, and thanks to the internet, there was already a well documented procedure at this site.
The major steps are:
- Create a new vm, choosing the options for "I will install the operating system later."
- Select Microsoft Windows as the guest operating system
- Choose either 32 or 64 bit Windows 7 depending on the Win8 ISO you downloaded
- Give the VM a name
- Choose "Customize Hardware"
- Modify CD/DVD IDE
- Select "Use ISO image for" and select your downloaded file
- Accept all your changes in the New VM wizard, and start the VM
After restarting the VM, I was a bit surprised that I needed to login to the OS with my hotmail account. This was a departure from the last 20 years of Windows, and I haven't decided whether I'm ok with that change (when you change your email address, its just one more thing that will need to be done).
The first thing which you'll notice (how can you not) is the new desktop:
I'm not sure I want my desktop looking like a tablet. Where I can see where it could be useful to the "just checking my email/web" crowd, as a power user, its going to take quite a few custom widgets (or whatever those new tile things are called) to get the desktop to a place where I think I could be happy with it. Initial thoughts have me wondering how I'll work with all my common development tools, as well as what in the world am I going to do with all the shortcuts that I tend to keep on my desktop.
There is an initial tile (lower left) for launching a "legacy Windows desktop", but it has really been decimated; the most painful loss being the lack of a Start menu. I'm really not sure what they are thinking here - go ahead and default to the new metro interface, but why in the world would you take away the security blanket of the good old start menu. I guess it won't be long before the web is crawling with start menu replacement apps (maybe not a bad thing). It seems odd that they would make such a radical change to the screen with the Metro UI, but then leave the desktop (but only in a neutered state). It seems like they had the option to go all in and ditch the desktop completely, but backed-out of that thought process about halfway through development. Another initial point of confusion was how to get back to the main screen (ie - once you dive into email, how do you get out), which trial-and-error gave the answer: pressing the "Windows" key.
My initial impression is mixed. The Metro UI is attractive (the less is more theory of UI) and seems quite responsive (wondering how that will that scale to a large number of tiles), but I'm concerned that its going to be a major hassle changing my work habits to operate within the new model, and whether I'll lose any critical features in the process.
I'll keep experimenting as time allows...
Subscribe to:
Posts (Atom)





