Saturday, May 24, 2008

Windows Update não funciona

Para resolver esse problema, use um dos métodos a seguir.

Método 1: Registrar o arquivo Wups2.dll no Windows Para registrar o arquivo Wups2.dll no Windows, execute as seguintes etapas:

1 - Interrompa o serviço Atualizações Automáticas. Para fazer isto, execute as seguintes etapas:

a - Clique em Iniciar, em Executar, digite cmd e clique em OK.

b - No prompt de comando, digite o seguinte comando e pressione ENTER: net stop wuauserv

2 - Registre o arquivo Wups2.dll. Para fazer isto, execute as seguintes etapas:

a - No prompt de comando, digite o seguinte comando e pressione ENTER:

regsvr32 %windir%\system32\wups2.dll

Observação: Para um computador executando o Windows XP Professional x64 Edition, digite o seguinte comando e pressione ENTER:

regsvr32 %windir%\syswow64\wups2.dll

b - Clique em OK em cada mensagem de verificação que for exibida.

3 - Inicie o serviço Atualizações Automáticas. Para fazer isto, digite o seguinte comando no prompt de comando e pressione ENTER:

net start wuauserv

4 - Saia do prompt de comando. Para fazer isto, digite exit e pressione ENTER.

Método 2: Baixar e instalar o Windows Update Agent Para resolver esse problema, execute as etapas a seguir:

1 - Baixe a versão apropriada do Windows Update Agent em um local conhecido. Para fazer isto, visite um dos seguintes sites da Microsoft:

AgentWindows, sistemas com base em x86 http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.0.6000.381/WindowsUpdateAgent30-x86.exe

Windows, sistemas com base em x64
http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.0.6000.381/WindowsUpdateAgent30-x64.exe

Windows, sistemas com base em processadores Itanium http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.0.6000.381/WindowsUpdateAgent30-ia64.exe

2 - Clique em Iniciar, em Executar, em Pesquisar, localize o arquivo salvo na etapa 1 e clique em Abrir.

3 - Adicione a opção /wuforce ao final do comando Executar e clique em OK. Por exemplo, o comando Executar pode aparecer da seguinte forma: C:\WindowsUpdateAgent30-x86.exe"/wuforce

4 - Clique em Executar.

5 - Execute as etapas e conclua o assistente.

A informação contida neste artigo aplica-se a:
• Microsoft Windows XP Professional
• Microsoft Windows XP Professional x64 Edition
• Microsoft Windows XP Home Edition
• Microsoft Windows XP Media Center Edition 2002
• Microsoft Windows XP Media Center Edition 2004
• Microsoft Windows XP Media Center Edition 2005
• Microsoft Windows XP Tablet PC Edition
• Microsoft Windows XP Tablet PC Edition 2005

Wednesday, May 21, 2008

How to Build a Windows XP SP3 Integrated Installation CD

You need:

  1. Old/original Windows XP installation CD (any of SP0 to SP2 will do even though only those from SP2 are supported officially). Make sure to use build 5512 or above.
  2. Microsoft Windows SP3
  3. unzipper like WinRar, unrar for Linux / Ubuntu or the like
  4. ISO creator / CD burn program like mkisofs, InfraRecorder, UltraISO, Basero (or others) or even old school
  5. Boot image exctracted using BBIE or use this (also see Box.net box below)
  6. ~ 1 GB free tmp space on disk

You do:

  1. Extract / copy old Windows CD’s content (including hidden files!) to one folder (e.g. c:\XPCD)
  2. extract SP3’s content to another folder (e.g. c:\XPSP3) using e.g. unrar, winrar or hit Win+R and type

    1. c:\XPSP3\windowsxp-kb936929-sp3-x86-enu.exe –x

    and select target folder, here c:\XPSP3

  3. To slipstream the old CD do Win+R and copy+paste or type

    1. c:\XPSP3\i386\update\update.exe /integrate:c:\XPCD
  4. Create bootable CD image or CD using the boot image and your updated folder c:\XPCD. I recommend using mkisofs (Windows or Linux executable) using

    1. mkisofs \
    2. -b cdboot/msboot.img -no-emul-boot -boot-load-seg 1984 -boot-load-size 4 \
    3. -iso-level 2 -J -l -D -N -joliet-long -relaxed-filenames \
    4. -V "WINSP" \
    5. -o ../winsp.iso .

    from within the root folder of the CD to be, i.e. c:\XPCD. Create a new folder there and drop your boot image, i.e. cdboot/msboot.img.

  5. Done.

You might want to try booting from the image using VirtualBox.

Resources:

Monday, May 5, 2008

Register DLL

Example:
copy dll to system32

run
regsvr32 c:\windows\system32\Dllname.dll

Saturday, May 3, 2008

Ethernet controller - Virtual Box & Windows Vista

Vista no longer supports the AMD ethernet adapter VBox emulates, but you can find a driver for Vista on the Guest Additions ISO. Just click Install Guest Additions from the VM's Devices menu to load the disc into Vista. Although the additions install automatically, you will have to manually install the drivers for networking from the device manager. This is covered in more detail in the user manual.