terça-feira, 14 de junho de 2011

Solution for "Add a Device Wizard" Hanging While Searching For Devices | Solução para o travamento do assistente de "Adicionar um dispositivo"




English article:

Now you will be able to control the instalation process for drivers



There is a problem in Windows 7 when you try to add a device that is not local and you want to manually point to a driver and really control the instalation process. This is because Windows 7 wants to do everything in the automatic way, just like the new cars with autogears. Sometimes you "feel" that you need to change the current gear but the car just won't let you. The same thing occurs with Windows 7 - it always wants to take control.

But... this case has a solution, and it's simple: just type hdwwiz.exe in the command prompt and the wizard will come up to you.

I hope this post helps those in the transition from Windows XP/2003 to Windows 7/2008



Artigo em Português:

Agora você será capaz de controlar o processo de instalação dos drivers


Existe um problema no Windows 7 quando você tenta adicionar um dispositivo que não é local e você quer apontar manualmente para um driver e realmente controlar o processo de instalação. Isto ocorre pelo fato do Windows 7 querer fazer tudo sozinho, assim como os carros com câmbio automático. As vezes você "sente" que precisa mudar a marcha em uso mas o carro simplesmente quer insistir em usar outra. O mesmo ocorre com o Windows 7 - ele sempre quer estar no controle da situação.

Mas... este caso tem uma solução, e é bem simples: apenas digite hdwwiz.exe no prompt de comando e o assistente de adição de hardware manual virá até você.

Espero que este post ajude aqueles em transição do Windows XP/2003 para o Windows 7/2008

sexta-feira, 15 de abril de 2011

Windows 7 APPCRASH in Explorer.exe (ntdll.dll)




English article:

I have strugled with a problem in my workstation with Windows 7. It was a real pain. Everytime I oppened Control Panel it crashed explorer.exe. Well, to be direct I had to uninstall a database software (Firebird) to have my control panel working fine again. The problem was caused by a file called Firebird2Control.dll. See the error and how to fix it:

Error Details:

Error: APPCRASH
Application Name: Explorer.exe
Execution Code: 0xc0000374
Path of the failed application: C:\Windows\SYSTEM32\ntdll.dll

Cause:

Firebird installed with control panel applet 

Solution:

Uninstall and then reinstall firebird unchecking the option to install the control panel applet. (note: If there is a production or important data you must first backup your database to make this step.)

But, how will you uninstall since your control panel crashes all the time you try to open it ? Simple, invoke it directly:

RunDll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0

Now just uninstall and reinstall Firebird 2 with the option described above and your control panel will function just happy again.

PS: Thanks for Giovani Paganini for the solution to reinstall firebird unchecking the control panel applet, what made possible for it to work nice with Windows 7.


Artigo em Português:

Eu lutei muito com um problema em meu computador com o Windows 7. Era realmente chato. Todas as vezes que eu abria o Painel de Controle ele derrubava o explorer.exe. Bem, para ser direto eu tive de desinstalar um software de banco de dados (Firebird) para ter o meu painel de controle funcionando bem novamente. O problema era causado por um arquivo chamado Firebird2Control.dll. Veja o erro e como corrigir o mesmo:

Detalhes do Erro:

Error: APPCRASH
Application Name: Explorer.exe
Execution Code: 0xc0000374
Caminho da aplicação com falha: C:\Windows\SYSTEM32\ntdll.dll

Causa:

Firebird instalado com applet do painel de controle

Solução:

Desinstale e reinstale o firebird desmarcando a opção de instalar o applet do painel de controle. (nota: Se é um servidor de produção ou há dados importantes você deve primeiro fazer um backup antes de fazer este passo.)

Mas, como você vai desinstalar tendo em vista que o painel de controle é derrubado todas as vezes que você tenta abrí-lo ? Simples, chame-o diretamente pelo comando:

RunDll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0

Agora simplesmente desinstale e reinstale o Firebird 2 com a opção descrita acima e seu painel de controle vai voltar a funcionar novamente de forma perfeita.

OBS: Agradecimentos a Giovani Paganini pela solução de reinstalar o firebird desmarcando o applet do painel de controle, o que tornou possível seu funcionamento perfeito com o Windows 7.

terça-feira, 27 de julho de 2010

How to Install RedHat/CentOS on Microsoft Virtual PC




English article:

Hi everybody,

I was having an issue to install Red Hat/CentOS over Microsoft Virtual PC 2004/2007, but, there are some workarounds that I have used that solved the problem and made me install it smoothly on that virtualization platform. It allows even installing on the graphical mode. Let's see how it works:

On the initial screen you should call the instalation with these options:

# linux clocksource=pit vesa i8042.noloop

The trick is done. Now watch Red Hat Enterprise Linux or CentOS being beautifully installed over Microsoft Virtual PC / Virtual Server. There is just one more trick to do with the grub after the instalation:

On the first boot, when grub loads on the screen, edit it's startup parameters, pressing 'e' over it. Edit the line putting the options clocksource=pit i8042.noloop just after the rhgb quiet parameters.

The system will boot just fine, with graphical interface ok and mouse working.

Now it's time to make the changes permanent. Edit the grub loader parameters the same way you did in the boot process.

# vim /etc/grub.conf

Put the options clocksource=pit i8042.noloop just after the rhgb quiet parameters and save the new grub.conf file.

Now just Enjoy!



Artigo em Português:

Olá galera,

Eu estava tendo um problema para instalar o Red Hat/CentOS no Microsoft Virtual PC 2004/2007, mas, tem alguns macetes que eu usei que resolveram o problema e me permitiram instalar o mesmo sem problema naquela plataforma de virtualização. O macete permite até a instalação no modo gráfico (alguns dizem na internet que isto não é possível e mandam você instalar no modo texto - não acredite). Vamos ver como fazer:

Na tela inicial da você deve chamar a instalação com estas opções:

# linux clocksource=pit vesa i8042.noloop

O truque está feito. Agora assista o Red Hat Enterprise Linux ou CentOS ser instalado belamente sob o Microsoft Virtual PC / Virtual Server. Há apenas mais um truque para ser feito com o grub após a instalação:

No primeiro boot, quando o grub carregar na tela, edite seus parâmetros de inicialização, pressionando a tecla 'e'. Edite a linha colocando as opções clocksource=pit i8042.noloop logo após os parâmetros rhgb quiet.

O sistema vai carregar sem problemas, com a interface gráfica OK e o mouse funcionando.

Agora é hora de tornar as mudanças permanentes. Edite os parâmetros de carga do grub da mesma forma que você fez no processo de boot.

# vim /etc/grub.conf

Coloque as opções clocksource=pit i8042.noloop logo após os parâmetros rhgb quiet e salve seu novo arquivo de configuração grub.conf.

Agora só aproveite e use a máquina virtual!
tags para os sites de busca: Virtual PC, Virtual Server, Red Hat, RHEL, install, installation, graphical interface, error, CentOS, problem, interface gráfica, erro, instalação, instalar.