Windows 7–New User cannot logon <Solved>

Upon creating a new user and attempting to login, I received the following error message: "The User Profile Service failed the logon. User profile cannot be loaded." I’m running Windows 7 x64 SP1.

My current setup is: 
C: drive (SSD) Program Files, Windows, ProgramData.
X: drive (HDD) Users, and everything else.

I use the Administrator account as my account. To set up the system, I created a temporary user, logged in, changed the registry to point the Users directory to the X: drive (and moved the Default and Public folders to the X:\Users directory). I then enabled the Admin account and logged in with it. This created my profile on the X drive.
However, I was trying to create another user account to test with. The account is named "Test". I receive the quoted error message upon attempts to log in. I checked the X:\Users folder and there is no profile for the Test account, not even a folder for it. I tried copying the Default profile and renaming it, but no dice. I also verified that the folder seemed to have the proper permissions (Full Control for System, Administrator, Administrators, as the Test account was an admin account as well). There is no entry in the registry under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ for the Test user, so I got a utility that could find that users’ SID and created an entry for it, but still, I receive the original error message when trying to log in.

I finally solved the problem.  It turns out that the X:\Users\Default folder needed to give the "Everyone" group Read, List folder contents, and Read and Execute permissions. When I copied the Default profile via the user profile screen, it didn’t apply correct permissions; it just inherited those of the destination folder.  Event Viewer showed that Windows didn’t have permission to copy the Default profile to the X:\Users\Test folder.  When I gave the Everyone group permission to the Default profile folder, I was then able to login with new users (and subsequently have them automatically create profiles).

Trouble Installing Windows Live Essentials 2011 <Solved>

Ironically enough, I downloaded Windows Live Essentials 2011 on my work PC to write another blog post about something (that I’ll hopefully get to later).  I had a hell of a time installing WLE.  I kept receiving an error from the installer.  It said: Error 0x80070643. Source: wllogin-amd64.

I tried lots of different things to resolve this issue.  The event log was showing that the installer couldn’t register a certain DLL file.  Knowing this, I copied the needed file from my home PC and tried to manually register it.  I should have known something was off when I didn’t get a message from the regsvr32.exe program when I registered the DLL.  However, I continued on, installing, uninstalling, compatibility mode, disabling A/V, etc.

Finally, when I had just about given up, I browsed to my SysWow64 folder (I’m running Win7 x64), and looked for regsvr32.exe, the file the event log was complaining about.  I had just assumed that the DLL file the installer was trying to register was not able to be located.  I didn’t think about regsvr32.exe being missing.  However, I was surprised to find that I didn’t have regsvr32.exe in my SysWow64 folder.  Instead I had a regsvr32.exe.DEL file.  I removed a virus from my PC a few weeks back.  Perhaps that is what renamed that crucial Windows file.

I removed the .DEL extension, then removed all remnants of WLE (using Installer Cleanup Utility and manually deleting the WLE Program Files folder).  I then re-installed WLE.  It appeared to install all the way through this time, however, the event log showed information events (not errors) suggesting that the Windows Live ID Sign-In Assistant was having trouble installing (this was the component that the problematic DLL file is related to).  When I launched Writer, the splash screen would display for a few seconds, then close, and the process would end.  To fix this (once and for all), I then ran a repair install of WLE, which seems to have permanently resolved the issue.

TL;DR – Make sure the SysWow64 folder has regsvr32.exe, if you’re running Windows x64, or the System32 folder, if you’re running 32 bit.

EDIT: If you’re attempting to troubleshoot a WLE problem, it may be less time consuming to download and install the offline installer rather than using the web setup, as the program will attempt to download various components each time.  The d/l is about 155MB.  Located here: http://g.live.com/1rewlive4-all/en/wlsetup-all.exe

How To: Schedule Winamp Recording

I like to listen to a weekly streaming radio show, but I’m usually not around to catch any or all of the stream.  I then need to scour the interwebz to find a ripped recording of the show, which is usually on Rapidshare/Megaupload/etc.  This method takes a while to find/download (that is, if it’s even available).  I decided I’d rather record the streams myself, but couldn’t find a simple method to do so through Winamp.  I discovered a method that works well and takes only a few minutes to configure.  Unfortunately I couldn’t find a GUI for setting up scheduled recordings, but with a few Scheduled Tasks set we can use a free utility called StreamRipper to record any streaming radio station that can be played through Winamp.

  1. Download Winamp, if you don’t already have it (I’m using version 5).
  2. Determine the URL of your streaming radio station.  In my case, it was http://listen.di.fm/public3/trance.pls.
  3. Download StreamRipper.
  4. Launch Winamp (which will also open StreamRipper) and set the StreamRipper settings (such as directory to save to, etc).
  5. Launch Windows Task Scheduler and create a basic task.  This will be to start the recording.
  6. In the newly created task, set the command to run to be StreamRipper.exe (in my case located at C:\Program Files (x86)\StreamRipper\streamripper.exe).  Set the arguments to be the URL of the stream you wish to record.  Set the start time to be whenever you’d like your recording to start.
  7. Set whatever other options for the task you’d like (I chose to run only if a user is logged on, that way I have the CMD window open to view the task.  I also chose to end the task after running for a certain amount of time, as a fail-safe in case the task doesn’t stop when it’s supposed to, that way my hard drive doesn’t get eaten up and create a 100GB mp3).
  8. Create another scheduled task.  This will be to stop the recording.
  9. On the second scheduled task, set the command to be taskkill.  Set the arguments to be “/f /im streamripper.exe” (without the quotes).  Set the task to run when you want your recording to end.  Again, set whatever other options you’d like for this scheduled task.  I chose to run this one regardless of whether a user is logged on or not.
  10. Test out your newly created task by manually invoking the first task.  Let it run for a few seconds (if you set it to run only when a user is logged on you should see a CMD window open that displays some text referring to your stream).  After that has run for 10 or 15 seconds, manually invoke the second task.  This should end the recording.  Then check the directory you set earlier (using the StreamRipper GUI) to view your recording.  If your recording is in there and you can delete it (meaning the file is not open and still being written to), then you’re all set!  If you cannot delete the file, then the second task probably did not work properly, as the file is likely still being written to.  If there is no file, double check that you have set the path to record to (in the StreamRipper GUI) and that your first scheduled task is configured properly.

That should be it!  If you have any questions, write me on Twitter by tweeting @agreenbhm .

Windows 7/Server 2008 R2 now publicly available

Yesterday marked launch day for the latest generation of Windows client & server operating systems.  Having used Windows 7 for the better part of the past year (during the beta testing stages), I can safely say this is a product any consumer will be happy to have on their computer (except maybe Mac fanboys).  I strongly suggest upgrading.

Microsoft not releasing Windows 7 E

Microsoft announced recently that they will not be releasing a separate “E” version of Windows 7 for Europe to comply with EU regulations regarding Internet Explorer.  Instead, they will release a regular Windows 7 edition with a ballot screen, which prompts the user to select the web browser they would like to download.

Microsoft Connect Windows 7 testers to get free copy

While Microsoft had originally decided to thank the MS Connect testers of Windows 7 with a kind word and a discounted price on a Win 7 upgrade, they have had a change of heart and decided to reward the testers with a free full copy of the upcoming OS. This is for MS Connect testers only, not everyone that downloaded the beta or RC.

Source

Windows 7 RTM available August 6th!

That’s right, Windows 7 RTM will be available to MSDN/TechNet subscribers on Thursday, August 6th. If history tells us anything, it will be sure to hit the torrent trackers shortly after. I’ll be sure to pick my copy up on TechNet ASAP. Let the countdown begin!

Possible Windows 7 RTM (x64) Leaked

A leaked build of Windows 7, claiming to be RTM build 7600 has hit the torrent sites.  I personally will be waiting for the official announcement of RTM (which is expected to be tomorrow during Steve Ballmer’s keynote speech at WPC 2009 in New Orleans) before downloading and upgrading, but for anyone interested, the information is as follows:

File Name: 7600.16384.090710-1945_x64fre_client_en-us_Retail_Ultimate-GRMCULXFRER_EN_DVD.iso
Build Version: 6.1.7600.16384.win7_rtm.090710-1945 or 7600.16384.090710-1945
Size: 3,224,717,312
SHA1: 31849B315290EFABFD81F967ED3C553D82925E4C
CRC32: 1EE7DC6F
MD5: E6CE9644D0C7A8E1C950D257A7B2C8A4

7600.16384.090710-1945_x64fre_client_en-us_Retail_Ultimate-GRMCULXFRER_EN_DVD.iso.torrent

Windows 7 7264 Leaked

32bit & 64bit versions of Windows 7 7264 are now available on the torrent sites.  These builds were compiled on June 22nd.  Since we are now deep into the RTM-Escrow branch, the Beta & RC keys don’t work anymore.  No problem!  Just rearm the activation. The details of the builds are as follows:

32-bit Windows 7 Build 7264 (x86) ISO File Details

File Name: 7264.0.090622-1900_x86fre_client_en-us_Retail_Ultimate-GRMCULXFRER_EN_DVD
Size: 2,444,688 KB
CRC: 0B916606
MD5: 44F04E9E5762714C3D75A3C9C88DE251
SHA1: 59BA011913B00A820A1E002B9BEDEF139AE15B07

Download: 7264.0.090622-1900_x86fre_client_en-us_Retail_Ultimate-GRMCULFRER_EN_DVD.iso.torrent

64-bit Windows 7 Build 7264 (x64) ISO File Details

File Name: 7264.0.090622-1900_x64fre_client_en-us_Retail_Ultimate-GRMCULXFRER_EN_DVD
Size: 3,150,518 KB
CRC: 05F87B79
MD5: 670818DB149170C652414E1F75E9390C
SHA1: C6FE386E97944511820291F515A8CBB3DDA329A6

Download: 7264.0.090622-1900_x64fre_client_en-us_Retail_Ultimate-GRMCULXFRER_EN_DVD.iso.torrent