From http://www.rover12421.com/2014/11/1..., now in C#. Source code attached to this page.
Windows 7
The User Profile Service service failed the logon. User profile cannot be loaded.
Log On As A Service related errors
Since the same issue occurred on various occasions, I will summarize it here. It is quite common for applications to create user accounts to run services under. This happens for SQL Server, HyperV, and a bunch of other software. However the service may refuse to start with a "log on as a […]
How to Enable Concurrent Sessions in Windows 7 Service Pack 1 RTM
Just a placeholder for the real article, really: How to Enable Concurrent Sessions in Windows 7 Service Pack 1 RTM -- Script to run in attachment of this post.
Sort FAT with DriveSort
DriveSort sorts the directory tables of a volume formated in FAT12/FAT16/FAT32. This sort orders the files in each folder according to their short or long names alphabetic order. The majority of recent operating systems sort the files before showing them to the user, either by name, by size or by […]
Characters not allowed in Windows filenames
Beware when creating files with Linux on a Windows partition! Some characters which are allowed in Linux are forbidden in Windows, making those files unavailable. Chkdsk would even treat the files as corrupted and will rename them and put them in a LOST.DIR. So, forbidden characters in Windows are […]
Change from IDE to AHCI without crashing Windows 7
I noticed my system was using IDE (and not AHCI) and it is highly recommended to use AHCI for SSD drives. Ubuntu won't complain if mode is switched from one to the other. However, Windows 7 is a bit more picky as the AHCI driver is disabled by default (to gain a few seconds at startup) and thus […]
Sync Domain Controller Clock with Internet Time Server
By default, a domain controller use its BIOS clock as a reference, making all computers on the domain synchronizing on this not so reliable time service. To change that, you can use the Microsoft Fix It 50395 patch or edit the registry directly. Using Fix It, you just need to give it a reliable NTP […]
Slow Internet - Connection Issues in Windows Vista
I had to fix a computer with Vista Family Premium 32 bits installed where browsing the internet was nearly impossible. Any loading of a web page would take minutes, because of a very slow DNS resolution. After investigating for a while, I found out that buggy IPv6 implementation in Vista was the […]
Windows 7 Service Pack 1 Installation fails
It looks like Windows engineers forgot that other OS can coexist with the beast. As a result, the SP1 installation can fail (error code 0x800F0A12) if the Windows partition is not marked as active. Here is a soft fix: search Disk Management and run it. Find any partition which has 'system' flag, […]
Cleaning duplicate files
I went trough the cumbersome exercise of cleaning up my Pictures library, which consists of more than 20 000 images. Needless to say it's completely impossible without a good tool. I usually use fslint under Ubuntu, but there are not so many options. Under Linux, one can do quite powerful tools in a […]
Some hints to fix a non booting Windows 7 / 2008 R2 without reinstalling
Fix the MBR: bootrec /FixMbr Fix the partition boot record: bootrec /FixBoot Fix the boot menu: bootrec /RebuildBcd To run the Bootrec.exe tool, you must start Windows RE (recovery console). To do this, follow these steps: Put the installation disc in the disc drive, and then start the computer. […]
Windows/Ubuntu clock discrepancies
I'm running Windows 7 and Ubuntu on the same machine. When I boot into Windows, the clock is 2 hours behind the actual time. If I fix the time and then boot into Ubuntu, the clock is 2 hours ahead. This upsets the Windows time, and it goes on like a vicious cycle. Ubuntu gives you the choice to set […]
How to fix the Disk Signature Collision problem in Windows 7
Why would an external USB disk drive be ignored by Windows 7, while it is perfectly working on other systems and USB itself is working properly on the target PC? It took me a while to find out. In the disk management console (under administration tools, computer management), I finally found a nice […]
Resize a Windows 7 partition on a dual boot system
source: Reinstall Ubuntu Grub Bootloader After Windows Wipes it Out source: Reinstall Ubuntu Grub Bootloader After Windows Wipes it Out
W7, IIS 7.5 and ASP.NET applications
Please note this is a newbie post, for people like me who don't know anything about IIS 7 yet. First, make sure IIS and ASP.NET are installed. Go to Control Panel Programs Add / remove Windows programs Check IIS Services Make sure WWW services and Web admin tools are checked Also make sure that […]