Archive for Windows OS

The user profile service failed the logon. User profile cannot be loaded.

// August 20th, 2015 // Comments Off on The user profile service failed the logon. User profile cannot be loaded. // Windows 10, Windows 7, Windows 8

When logging on to a Windows machine the user may get the error message like “The user profile service failed the logon. User profile cannot be loaded” in Windows 7 or Vista. Once enter the user name and password it will give this error message and the user can’t login but other user can login to the system without any problem.

How to Fix the “The user profile service failed the logon” error?

  1. Click Start, type regedit in the Run box. Press Enter key.
  2. In Registry Editor, navigate to the location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  3. In the navigation pane, locate the folder that begins with S-1-5 (SID key) followed by a long number.
  4. Click each S-1-5 folder, locate the ProfileImagePath entry in the details pane, and then double-click to make sure that this is the user account profile that has the error.
    Option 1: If you have only one folder starting with S-1-5 that is followed by long numbers and ends with .bak. Right-click the folder, and then click Rename. Remove .bak at the end of the folder name, and then press Enter.

    Option 2: If you have two folders starting with S-1-5 followed by some long numbers and one of them ended with .bak, you have to rename the .bak folder. To do this, follow these steps:

    1) Right-click the folder without .bak, and then click Rename. Type .ba, and then press Enter.
    2) Right-click the folder that is named .bak, and then click Rename. Remove .bak at the end of the folder name, and then press Enter.
    3) Right-click the folder that is named .ba, and then click Rename. Change the .ba to .bak at the end of the folder name, and then press Enter.

  5. Double-click the folder without .bak in the details pane, double-click RefCount, type 0, and then click OK.
  6. Click the folder without .bak, in the details pane, double-click State, type 0, and then click OK.
  7. Close Registry Editor.

Restart the computer and try to log on again with your account to see if the problem still exists. If everything goes as planned, you will be able to login to your account without any issue.

can’t add printer due to NT4 policy in effect

// July 21st, 2010 // No Comments » // 2003/2008 Server, Windows 7, Windows Vista, Windows XP

For some printer models, the manufacturer does not package the drivers so that they can be installed as Additional Drivers on a print server. This is the case for many of the less expensive bubble jet, inkjet and multi-function (e.g. scanner/fax/printer) models. The manufacturers deem these to be “personal” printers for use only on the computer to which they are physically connected (parallel, USB or serial port). The manufacturer often says that printing over the network is “not supported” for these models.

If you attempt to install the drivers for these models as Additional Drivers (see for example Install Additional Driver on older OS), you will get some kind of an error or a request for the driver that can not be satisfied no matter what you do. You may also get an error message stating that there is a policy in effect that doesn’t allow NT4 drivers to be installed.

Unfortunately, there are some models that can not be used over the network because the print device and printer driver have to be in bi-directional communication throughout the printing process. The manufacturer’s documentation does not always make this requirement apparent, although there may be FAQs or other documents on the manufacturer’s web site that state this.

Except for those models discussed in the previous paragraph, you can bypass this problem by adding the printer as a local printer on the client computer and associating the printer with a network printer port (i.e. re-direct it to the printer share on the print server). No harm will be done by trying this approach if it doesn’t work, so it’s usually worth a try.

Here’s how to install a printer locally and re-direct it to a network printer port. These instructions are written for Windows XP. This technique does work with Windows 7, Vista, 2008, and 2003 but the dialogs are a bit different, so you may have to read between the lines.

  • Logon at the client computer with a user account that has administrative rights and permissions on the client computer.
  • Click Start, Printers and Faxes
  • Right click in an empty space in the right pane and select Add Printer
  • Click Next
  • Select the Local Printer… radio button, remove the check mark from Automatically detect and install my Plug and Play printer; click Next
  • Select the Create a new port: radio button; from the Type of port: drop down list, select Local Port; click Next
  • In the Enter a port name: text box, key exactly the UNC name of the network printer (e.g. \\printservername\printersharename); click OK
  • Selecting the appropriate entries from the Manufacturer and Printers columns or click the Have Disk button as appropriate
  • Follow through the rest of the Add Printer wizard.

OWA – ‘gtLV’ is null or not an object

// July 15th, 2010 // No Comments » // Exchange 2007, Internet Explorer

, Scripts, Web Applications

I was getting the “gtLV’ is null or not an object” message when I replied to an email using our Microsoft Online Hosted Exchange email account. Ironically enough, the problem would always occur when I replied to a new email from a Microsoft support engineer. The email would go through but I would get the “ ’gtLV’ is null or not an object” error message popup on the screen. If I replied to the email again the problem would not occur. A very similar message can be seen in the Microsoft Exchange Server forums where I also posted the provided solution.

After many emails to the very patient support tech at Microsoft (as I would reply and then send an email to let him know if the reply worked or not) we escalated the ticket and I got back the following resolution.

1. type regedit on command prompt or run
2. go to: HKCU\Software\Microsoft\Internet Explorer\Main
3. create TabProcGrowth (string or dword) and set the value to 0

This solution worked for me.  From what I can see at the ie8blog this has the side effect of reducing the protectedmode protection and I think the browser tabs use the same process rather than running in seperate processes.  This is a slight downside, but I doubt many users will care – they’re more than happy to have OWA working.

roaming profiles corruption

// April 29th, 2010 // No Comments »

// Active Directory, Windows XP

Some of the newer software out can cause handles to remain open during the logoff event. Smarttech smartboards come with a program called Notebook which is notorious for locking directories. Disabling the following services can fix alot of roaming profile issues. Adding DelProf.exe to your logoff script in Active Directory is also a nice addition to keep roaming profiles working correctly.

Windows Search Service and WebClient Service (webdav)

can’t change ie8 default search provider

// April 15th, 2010 // 4 Comments » // Internet Explorer

IE8 in some situation disallows changing the default search provider. This can happen on workgroups and domains even if the “restrict changing search provider” gpo is not configured.

  • Make sure IE 8 is closed then navigate to registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
  • Add a new “Expandable String value” inside the above mentioned key with a value name of “AppData” and a value data of “%USERPROFILE%\Application Data”.
  • Reopen IE 8 and see if you still get the error message.
  1. e sure IE 8 is closed then navigate to registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
  2. Add a new “Expandable String value” inside the above mentioned key with a value name of “AppData” and a value data of “%USERPROFILE%\Application Data”.
  3. Reopen IE 8 and see if you still get the error message.

Activate/WGA fix for Windows XP

// April 14th, 2010 // No Comments »

// Active Directory

  • Open regedit
  • Find HKEY Local\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents
  • Find the string OOBETimer
  • Double click and change the value to this one: FF D5 71 D6 8B 6A 8D 6F D5 33 93 FD
  • Right click on WPAEvents and choose permissions
  • Change “system” and check deny all
  • Restart Your PC

user profile service failed the logon

// March 12th, 2010 // No Comments » // Windows 7

, Windows 8, Windows Vista

To reset a corrupt profile in Vista/7/8:

  • Open regedit with administrator rights
  • Find HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\
  • Delete the root key that includes the username you want to reset (DONT remove the others)
  • Rename or remove the username directory under c:\users
  • Reboot and log the user on to recreate the profile, reboot again to apply GPO’s if it’s a domain workstation

god mode, rawr

// March 9th, 2010 // No Comments » // Windows 7, Windows Vista

Although its name suggests perhaps even grander capabilities, Windows enthusiasts are excited over the discovery of a hidden “GodMode” feature that lets users access all of the operating system’s control panels from within a single folder. By creating a new folder in Windows 7 and renaming it with a certain text string at the end, users are able to have a single place to do everything from changing the look of the mouse pointer to making a new hard-drive partition. The trick is also said to work in Windows Vista, although some are warning that although it works fine in 32-bit versions of Vista, it can cause 64-bit versions of that operating system to crash.

To enter “GodMode,” one need only create a new folder and then rename the folder to the following:


Once that is done, the folder’s icon will change to resemble a control panel and will contain dozens of control options. I’m not sure it’s my idea of playing God, but it is a handy way to get to all kinds of controls.

azure snippit

// March 9th, 2010 // No Comments » // Azure Server

, Windows Server

Put simply, Windows Azure is the Windows Server operating system redesigned as a cloud-based service. At a very high level, Windows Azure is much like Windows Server, except that it’s hosted by Microsoft at its datacenters and not on-premise at your own company. That is, it provides a platform on which developers can create hosted applications and companies can run hosted applications and store data in the cloud.

But Windows Azure is not simply the current version of Windows Server modified to work in the cloud. Yes, Microsoft did of course start with a Windows Server core to create Windows Azure, but the system was also designed from the start to work as a cloud-hosted service. As such, Windows Azure and Windows Server both have capabilities that are unique to one that are not available in the other. According to Microsoft, the company will continue developing each product separately, all while bringing the respective capabilities of each system closer together. That said, because of their unique focuses, it’s likely that they will never truly mirror each other fully.

Another important aspect of Windows Azure is that it works within Microsoft’s notion of a hybrid computing model, allowing companies to utilize on premise servers for those tasks that need to be hosted onsite and cloud-hosted services that do not. So your company may choose to host some of its applications and data in the cloud but retain other on premise applications and data as needed. This system can also be utilized to slowly move resources to the cloud over time as you evaluate the cost, effectiveness, and convenience of such a strategy.

cannot map to DFS/IFS shares on vista/7/8

// March 9th, 2010 // No Comments » // AS400, Security, Windows 7, Windows 8, Windows Vista

On your Vista/7/8 PC do the following:

1) Click All Programs-Accessories-Run and type secpol.msc and click OK.

2) Verify if dialog box appears.

3) From Security Settings console tree, expand Local Policies then click Security Options.

4) In the right pane, scroll down to the setting called ‘Network security:Lan Manager authentication level Properties’ and double-click it.

5) Note the current value and change it to be ‘Send LM & NTLM – use NTLMv2 session security if negotiated’.

You should now be able to access network shares on any DFS/IFS system such as an AS/400.