Posts tagged ‘windows’

Microsoft .net Framework 3.5 on Windows XP Embedded

At work, I’m deploying Software to Windows XP embedded Clients. The Past days, i was analyzing a problem with Microsoft “Microsoft .NET Framework 3.0 Service Pack 1 (KB929300)”. The Installation Log said:

DepCheck indicates Microsoft .NET Framework 3.0a is not installed.

This Error is kind of confusing, since .NET Framework 3.0 was already installed, and there’s actually no version 3.0a which you can download. I then decided (after a lot of other ideas, which didn’t work out) to extract the 3.5 (yes, 3.5) Redist Package using winrar, and found the following MSI:

dotnetfx35\wcu\dotNetFramework\dotNetFX30\Netfx30a_x86.msi

This MSI tells you to use setup.exe, and quits installing, so it has to be edited (I’ve used ORCA to do so). After I installed it, i was finally able to install .NET Framework 3.5

Messing with Windows XP power profiles

Windows XP’s default setting for Standby mode is kind of frustrating. Even if the computer is part of a Windows Domain, Pc’s go to standby after a timeout by default. I have done the following to solve this problem:

1. Microsoft supplies a tool called powercfg to handle power profiles, however powercfg only works with administrative privileges by default, changing the registry permissions is a must if you want to do it with user privileges (I’ve used SetACL which is not part of windows):
%windir%\system32\SetACL.exe -on "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg" -ot reg -actn ace -ace "n:%computername%\users;p:full"
%windir%\system32\SetACL.exe -on "HKU\.DEFAULT\Control Panel\PowerCfg" -ot reg -actn ace -ace "n:%computername%\users;p:full"

2. to add a new profile, and configure it, i run the following under every user:
powercfg /C efag-pwr-nb
powercfg /X efag-pwr-nb /monitor-timeout-ac 20
powercfg /X efag-pwr-nb /monitor-timeout-dc 15
powercfg /X efag-pwr-nb /disk-timeout-ac 30
powercfg /X efag-pwr-nb /disk-timeout-dc 10
powercfg /X efag-pwr-nb /standby-timeout-ac 0
powercfg /X efag-pwr-nb /standby-timeout-dc 0
powercfg /X efag-pwr-nb /hibernate-timeout-ac 0
powercfg /X efag-pwr-nb /hibernate-timeout-dc 0
powercfg /X efag-pwr-nb /processor-throttle-ac NONE
powercfg /X efag-pwr-nb /processor-throttle-dc ADAPTIVE
powercfg /S efag-pwr-nb

powercfg /G ON /OPTION BATTERYICON
powercfg /G ON /OPTION MULTIBATTERY
powercfg /G ON /OPTION RESUMEPASSWORD
powercfg /G OFF /OPTION WAKEONRING
powercfg /G OFF /OPTION VIDEODIM

Windows Update not working after SP3 was installed

It somehow happens that the windows update service isn’t properly registered after SP3 has been installed. the solution to this issue is quiet simple:

net stop wuauserv
cd \windows\system32
regsvr32 wups2.dll
net start wuauserv