Archive

Posts Tagged ‘Windows 7’

Error “WindowsUpdate_80244019” or “WindowsUpdate_dt000” during update your Windows.

The problem in majority of the cases is related to the wrong DNS loading. The problem itself very often happens when you are behind several routers (like one from internet connection vendor and one your WiFi router) and until you don’t flush your current DNS configuration you can try anything but you won’t be successful.
What’s really funny that’s so easy – just run the command prompt with admin rights, then run the following command:

ipconfig /flushdns

make a coffee and get back to the WU heaven 🙂
All other applications are able to deal with that – WU not. From my point of view this is a bug and I am just surprised it’s nowhere documented.

You could also register the DNS in command prompt with:

ipconfig /registerdns

and check your current DNS settings with:

ipconfig /displaydns

Hope this helps!

Advertisements

How to rebuild the icon cache in Windows systems.

If one or more of your icons are not displaying correctly, or that your icon cache is corrupted, then you might consider rebuilding the icon cache to reset and reload the icon images into the icon cache (the solution works on Windows 7 and Windows 8).

By the way – the icon cache is located at the hidden system folder location below:

C:\Users\USERNAME\AppData\Local\IconCache.db

This solution will not help with any of the following icon issues:
1. A shortcut’s icon that is not displayed properly due to the source of the shortcut being moved or deleted. You may need to recreate a new shortcut directly from the source (ex: program’s exe) file to replace it instead.
2. All icons for a specific file extension display the wrong icon. This may be do to setting the wrong association for what program to open the file extension instead. You can restore the default file extension’s associations to fix this icon instead.

To manually rebuild the icon cache using the command prompt you have to:
1. Close and save anything that you are working on (the following commands will kill explorer and restart the computer when completed).
2. Open a command prompt in Windows 7 or Windows 8.
3. In the command prompt, copy and paste each command line below exactly as is one at a time and press enter after each command:

ie4uinit.exe -ClearIconCache
taskkill /IM explorer.exe /F
DEL "%localappdata%\IconCache.db" /A
shutdown /r /f /t 00

4. After restarting the computer, the IconCache.db file has been rebuilt and all missing icons should display correctly.

Microsoft .NET Framework 4 fails to install due to “The setup cannot run in compatibility mode” error.

2012-06-25 14 comments

I was having this issue trying to install the full version of .NET v4.0 on Windows 2008R2. No matter what I tried: changing compatibility modes, running as administrator – I’ve got “The setup cannot run in compatibility mode” error. I received the message whether I tried to install OR uninstall it (Using add/remove programs).

Here is how you could resolve this issue:
1. Download the full installer (dotNetFx40_Full_x86_x64.exe) from here Microsoft site.
2. Extract it into a new folder using WinRAR or 7-Zip, for example “c:\downloads\dotNetFx40_Full_x86_x64\”.
3. Once extracted, you need to edit 3 files, all “ParameterInfo.xml”. Following from the example folder in step two, the three files are located:

c:\downloads\dotNetFx40_Full_x86_x64\ParameterInfo.xml
c:\downloads\dotNetFx40_Full_x86_x64\Client\ParameterInfo.xml
c:\downloads\dotNetFx40_Full_x86_x64\Extended\ParameterInfo.xml

EDIT ALL three files, do NOT edit one and copy it to the other folders – they are different and this won’t work. In each file, you’re looking for a block of code that looks like this:

<BlockIf DisplayText="#(loc.Blocker_in_OS_Compatibility_Mode)" ID="AppCompatMode">
<Exists>
<IsInOSCompatibilityMode />
</Exists>
</BlockIf>

Remove these these 5 lines from each file to disable the compatibility mode check. Remember to save.

4. Once that is done, open a DOS prompt in Administrator Mode and run the setup utility located in the “dotNetFx40_Full_x86_x64” folder created above. You need to tell it what architecture you’re on. If you’re running 32-bit Windows, use:

setup /x86

If you’re using 64-bit windows, use:

setup /x64

It should bring up the installer and continue normally without receiving the compatibility mode error. I suspect other installers suffering from this error might be able to be modified in a similar way.

MS Windows services MMC extended blank view.

2012-02-24 1 comment

The extended view of Services Management Console (services.msc) displays the service description and also has links to Start or Stop services. In some systems, the Extended view may appear blank, as in the below screen:

services mmc blank

This could happen in different Windows systems (XP, 2003, WIN7, etc.) because of the broken jscript.dll registration. To fix this problem login with administrator priviliges, and then run the following command from Start, and then Run dialog:

regsvr32.exe jscript.dll

You should then see the output message “DllRegisterServer in jscript.dll succeeded.”

This fixes the Extended view. Close and reopen Services MMC.

The Oracle JInitiator refresh issue.

2011-12-28 2 comments

Applications (such as Micros Opera) created for OAS (Oracle Application Server) often use also Oracle JInitiator (a JVM made and distributed by Oracle, it allows a web enabled Oracle Forms client application to be run inside a web browser).
While there were no problems with Windows XP, there seems to be an issue on Windows 7 running the Intel Core i3 and Core i5 processors where the JInitiator will load, but it won’t refresh or repaint its windows. In my case, when I resized the window or double clicked the title bar, it would repaint the screen, refreshing the content in the window. However, I would have to do that step every time I wanted something to happen in the window.
To make a long story short, the problem is with the new Intel HD graphics with dynamic frequency technology and I know two solutions.

Solution 1.
You basically have to go into the power savings for Windows 7, edit the power plan and set the Intel Graphics to “Maximum Performance” which turns off the Dynamic Frequency.
If you have a computer that has it’s own power saving software (or Intel graphics software) you have to make a little research on your own. If you are using the stock Windows 7 power settings, you can do the following:
– click Start
– in the search box, type Power Options and hit enter
– chances are, the radio dot is on the Balanced (recommended) settin, click on the Change plan settings link to the right for whatever plan is selected
– click the Change advanced power settings link
– in the advanced options, scroll down until you find Intel Graphics and click on the + next to it
– you should see two options below the Intel Graphics: Plugged In and On Battery, set both of these to Maximum Performance
apply and OK, then you can close everything else down.

Solution 2.
The solution is to disable DirectDraw for jInitiator. To do this, go to Control Panel, jInitiator and then in Basic label add

-Dsun.java2d.noddraw=true

to Java Runtime Parameters field.
Alternatively, you may edit jInitiator properties file located somewhere in C:\Users\USERNAME\.jinit folder so it has this line in it (notice ‘=’ character is escaped):

javaplugin.jre.params=-Dsun.java2d.noddraw\=true

Good luck 🙂

Categories: MS Windows, OS Tags: , , ,

Enable or disable hibernate in Windows 7.

1. Enable Hibernate.
NOTE: This option will restore the hiberfil.sys file, and the Allow hybrid sleep and Hibernate after Power Options under Sleep.
– Open the elevated Command Prompt (Run as Administrator)
– In the elevated command prompt, type ‘powercfg -h on’ and press Enter
– Close the elevated command prompt

2. Disable Hibernate.
NOTE: This option will disable hibernation, delete the hiberfil.sys file, and remove the Allow hybrid sleep and Hibernate after Power Options under Sleep.
– Open the elevated Command Prompt (Run as Administrator)
– In the elevated command prompt, type ‘powercfg -h off’ and press Enter
– Close the elevated command prompt

Categories: MS Windows, OS Tags: , , ,

Disable and turnoff UAC in Windows 7.

Well, there are few ways to accomplish this goal. The simple way – use Control Panel, just follow these steps:
1. Access User Control Panel from Start Menu -> Control Panel -> User Accounts and Family Safety -> User Account.
2. Click on User Account Control settings link.
3. Move the Slider to Never Notify.
4. Click OK to make the change effective.
5. Reboot the computer.

That’s all.

Categories: MS Windows, OS Tags: , , ,