When trying to log in to Windows (in this case Windows 7 using a domain account) you may receive the following error
This particular situation occurred after a reboot following the installation of the latest Windows updates.
There are several suggestions out there to solve this problem, some more drastic than others. The most common root cause seems to be a problem with a corrupt registry. Specifically, several guides have you log in to the system with a separate local administrator account and then check and modify registry settings located at these locations:
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SVCHOST
In this case there were no problems with these registry settings, so a different solution was needed.
It was discovered that the user account had both a ntuser.man file and a ntuser.dat file, located in the root of the affected users profile folder (C:\Users\username). Depending on the account type, there should only be one or the other. It is most common to have a .dat rather than a .man which was true for this specific user account. The ntuser.man file was also very small compared to the ntuser.dat file.
The solution was to log in with a separate local administrator account and then move/rename the ntuser.man file while leaving the ntuser.dat file untouched.
That allowed the user to log in again with no loss of data or Windows settings.
I could not find a reliable procedure for performing a factory reset / restore on these devices, so I have put one together. The official procedure from Asus did not work for me.
This has been tested specifically with the MeMo Pad 8 Model K011 (ME181C), but it should also work for the MeMo Pad 7 (ME176C).
Here are the steps:
- Power off the tablet
- Press and hold the volume up button. While holding it down, press and hold the power button.
- Release both when you see the Asus logo appear.
- The tablet should then boot into the Droidboot interface (shown below).
- Scroll down and execute Recovery.
- The tablet should then reboot into the recovery screen that has the robot tipped over with the message No Command (shown below).
- Now press and hold the volume down key. While still holding it, press and release the volume up key. You can now release the volume down key.
- You should then be presented with the Android system recovery options that will allow you to do a factory reset.
- It takes a while so be patient. Once done simply choose the option for Reboot system now.
After installing this update you may find that you are no longer ble to launch your Start Menu. When clicking on the Windows logo button, it is animated but the Start Menu doesn’t appear.
Try the following:
- Press Control-Alt-Delete
- Launch Task Manager
- Click File-Run New Task
- Type control panel and press enter
- Choose User Accounts
- Click the option for Make changes to my account in PC settings
- If the window comes up but gets stuck with the gear icon, try right clicking on your Start Menu button a few times
- When the settings window appears, Choose Sign-in options, located on the left
- Find the option for Use my sign-in info to automatically finish setting up my device after an update or restart. Having this option enabled seems to be the root cause of breaking the Start Menu
- Disable this option then reboot.
Note: an alternative way of safely rebooting without a working Start Menu is to use the command line. Start a new task cmd using Task Manager in similar fashion like steps 1-4 above. When the command window appears, type the command: shutdown -r and press enter.
You may find that you need to upgrade PHP on your CentOS install in order to meet dependencies for an application. For example, a WordPress plugin:
Gmail SMTP plugin requires PHP 5.6 or higher.
Please contact your web host to update your PHP version.
CentOS by nature maintains the same package version throughout the life cycle of its release, so for CentOS 7 you end up with PHP version 5.4 (e.g., 5.4.17).
The good news is that you can upgrade PHP using the IUS Community project repositories without breaking your CentOS install.
Here are the steps, which need to be run with sudo permissions:
yum --enablerepo=extras install epel-release
For CentOS 7: yum install https://centos7.iuscommunity.org/ius-release.rpm
For CentOS 6: yum install https://centos6.iuscommunity.org/ius-release.rpm
yum install yum-plugin-replace
yum replace --replace-with php56u php
With the last step you may receive the following warning:
WARNING: Unable to resolve all providers ...
This may be normal depending on the package. Continue? [y/N]
For this procedure the warning is typical, so hit Yes
You will then be presented with a transaction summary as follows:
Transaction Summary ========================================
Install x Package(s) ....
Remove x Package(s) ...
Is this ok [y/N]:
Verify that all of the packages being removed are being replaced with equivalent packages of the newer version. Then hit Yes.
Once complete, restart all services that use PHP or reboot the server. Typically this is Apache, so to restart it issue the following command:
A particularly annoying issue where an iOS device will constantly forget about a hidden wireless network. The problem seem to start after upgrading it to iOS 10. In this case it was an iPhone 5.
Resetting the network settings would seem to work for a while but it would eventually occur again. Most often it would occur after power cycling the wireless access point or if the access point lost connection to the internet. Unhiding the SSID would resolve it however that does not fix the root problem.
Here are the steps to flush out the bad configuration in the device so that it no longer forgets:
Connect to the hidden wireless network as usual
Go to Settings -> Wi-Fi. Click the info icon next to the name of the hidden network to which you are connected
Choose Forget This Network
Reboot the phone by holding the Home button and on/off button
Navigate to Settings -> General -> Reset -> and choose Reset Network Settings
The phone will automatically reboot
Go to Settings -> Wi-Fi. Disable Ask to Join Networks
Finally, reconnect to the hidden wireless network
Now you should no longer have the issue of the device randomly (or not so randomly) forgetting the hidden network.
Update: Eventually the device forgot the network again. The only thing that has been a permanent solution is to broadcast the SSID, such that the network is no longer hidden.
Scenario: You have an existing RAID array in OMV and you have replaced each drive one at a time with a larger drive. Now you wish to grow the array into the larger size but it turns out the GUI of OMV does not have that option. When you navigate to “RAID Management” and then click “Grow,” it comes up with an empty list of devices. This is expected since all of your drives are used in the array already.
To grow the array into the new larger size after all drives have been upgraded, access the console of OMV (e.g., via SSH) and issue the command:
mdadm --grow /dev/mdX --size=max
where the letter X represents the number of your md device. The first md device is typically zero (i.e., md0).
After issuing the command, you should receive a confirmation immediately that the array has been resized. Something like this for an md0 device:
mdadm: component size of /dev/md0 has been set to [the new size in K]
You can confirm the change has taken place by navigating back to RAID Management where you will then see the RAID is in a resync process.
I ran into a problem when trying to have an OpenMediaVault 2.x Guest machine act as an iSCSI target for an ESXi 6.5 Host iSCSI initiator. The goal was to have OMV share a datastore for the ESXi host using the iSCSI protocol.
To create iSCSI targets on OMV, the easiest way is to install the available plugin (openmediavault-iscsitarget) from the web GUI. However a major limitation with this plugin is that you are not able to create fileio targets using the web GUI. In another post I detail how to get around that limitation but at this point we’ll assume you have successfully created a target (either fileio or blockio) on OMV and are now trying to get an ESXi host to discover and connect to it.
You may find that ESXi successfully discovers the OMV target but then fails to connect to it. I happened to be logged in to the console of the OMV guest at the time and saw several console error messages appear when ESXi was attempting to connect to the OMV target. They were similar to the below. You may need to reboot OMV and then try to rediscover the target in ESXi in order to reproduce them.
Message from syslogd
kernel: invalid opcode: 0000 [#1] SMP
Message from syslogd
Message from syslogd
kernel: Call Trace:
To flush the errors out I ended up having to reboot the OMV guest machine. The root cause appears to be a bugged version of iscsitarget that is installed from the OMV repositories when running the Linux 3.2 kernel. The solution is to install a backports kernel for OMV and then install updated iscsitarget packages that the OMV maintainers have made available.
- Back up / make note of any iSCSI initiator settings in ESXi
- Remove the iSCSI configuration from the ESXi host
- Reboot OMV
- Back up / make note of any iSCSI target configuration settings you have configured for OMV
- Uninstall the iSCSI plugin (openmediavault-iscsitarget) from OMV using the web GUI
- Reboot OMV
- Log in to the OMV console
- Run several commands from the OMV console to fully remove and flush out the iSCSI configuration. One or more of these may not be necessary depending on your configuration:
apt-get purge openmediavault-iscsitarget
apt-get purge iscsitarget
apt-get purge iscsitarget-dkms
- Install the OMV-Extras.org Plugin. This has to be downloaded and installed manually since it is not available by default within the web GUI. The official guide:
- Navigate to the plugin configuration page in the web GUI and confirm that the OMV-Extras.org main repository is enabled.
- Install the 3.16 backports kernel. At this point I configured it to be the default for OMV. The official guide:
- Reboot so that you are running 3.16 kernel
- Now reinstall the openmediavault-iscsitarget plugin. With the 3.16 kernel running, the plugin will automatically use the newer packages of iscsitarget available from the OMV-Extras.org repository (noted below for reference only).
- At this point you should then be able to configure the iSCSI target on OMV and have ESXi successfully connect to it.
OMV (version 2.x) has an iscsitarget plugin available (openmediavault-iscsitarget), however the web interface only supports BlockIO type of targets and I was looking to implement FileIO.
After installing the plugin, it is possible to manually configure the OMV plugin for a fileio target using the console by following the steps below. I ran into trouble when trying to access this target with ESXi which I cover in a separate article. If you are trying to access an iSCSI target with Microsoft Windows as an initiator, this method may work for you.
- Install openmediavault-iscsitarget plugin
- Enable the plugin in the web interface and confirm that it is running
- Access the console (locally, via ssh, etc.)
- Create an image file to hold your data (LUN). For OMV, Shared Folders are located at
/media/your-volume-uuid/shared-folder-name. For example, to create a 1TB “thin” image using dd and the count parameter:
dd if=/dev/zero of=/path/to/your/thinvolume.img bs=1M seek=1048576 count=0
- Edit the IET config file using the command:
- In this configuration file you will need to add your target information. Add the following lines to the bottom of this file, modifying it as appropriate for your configuration.
IncomingUser username password
Lun 0 Path=/path/to/your/thinvolume.img,Type=fileio
- Restart iscsi-target with this console command
- Then use this command to confirm it is running
- Then try to connect to the ISCSI target running OMV either by IP address or by IQN name.
If you have multiple network cards for OMV (such as using one for a dedicated storage network), you may be looking to force OMV to assign all iSCSI traffic to one network card. A word of caution – if you are using the openmediavault-iscsitarget plugin, then following these steps may break the web interface for this plugin when upgrading or removing the plugin, since OMV will complain about this file having been modified. It is possible to run iscsitarget without the plugin (which is recommended if you are looking to set up a filetypeio configuration), and I cover how to do that in another post.
To bind all iSCSI traffic (IET) to a single network card:
- Access the console
- Edit the configuration file for iscsitarget:
- Find the options line:
and change it to contain your IP address as follows (NOTE: you must use a double dash):
where x.x.x.x is the IP address of the network card in OMV corresponding to your dedicated storage network.
- Restart iscsitarget
Ran into a situation where an “x” was not available for removing a USB Controller from a Guest.
To resolve, first shut down the guest (if running) and temporarily Unregister it from the host. Then from the datastore, download the .vmx file associated with the guest. Create a backup of the .vmx file, then edit the original with a text editor such as Notepad. Find and delete all of the lines that begin with “usb.” For example:
usb.present = “TRUE”
usb.pciSlotNumber = “32”
usb:0.present = “TRUE”
usb:0.deviceType = “hid”
usb:0.port = “0”
usb:0.parent = “-1”
usb:1.speed = “2”
usb:1.present = “TRUE”
usb:1.deviceType = “hub”
usb:1.port = “1”
usb:1.parent = “-1”
Once these lines are removed from the .vmx file, save it and then upload the file back to the datastore, overwriting the original.
The final step is to re-register the guest with the host by pointing to the vmx file we just updated on the datastore. You should then find that the USB Controller is gone from the guest configuration.