【問題】Windows Updata 錯誤代碼 : 0x8007f004





門神
2006-10-20, 01:02 PM
看過幾個回答 , 但是似乎無法解決 , 懇請大家幫忙 , 不知道是否是我腦筋打結 ^^
當Windows 2000網域 , 身份是DC Server的做Windows Updata都沒問題
但是當成Member Server的做Windows Updata會有問題
問題脫不了權限
很多回答是本機的Administrator Group遺失Administrator權限
還有不就是檢查secpol.msc中的本機-->使用者權限指派
1.取得檔案或其他物件所有權
2.回存檔案及目錄
3.備份檔案及目錄(Member Server在此不是有效的原則 , 因此我們懷疑是此問題造成)
4.管理稽核及安全日誌
5.程式偵錯
的權限

還有一個提供進入安全模式
但似乎還是不能解決

另外還有人提供用FileMON去看他用那些DLL
這個沒用過

我們試過將DC登出轉成單機 , 問題還是一樣
不知各位是否有其他的方法可以提供

Thank You !!




mis339
2006-10-20, 01:50 PM
是不是有裝sus?!

門神
2006-10-20, 04:51 PM
沒有安裝SUS

^^

User回答曾經架過SUS

但是Server端都沒有加入過SUS !!

這問題是發生在Member Server上

門神
2006-10-23, 08:23 PM
我想到一招了

如果有答案再告訴各位

門神
2006-10-31, 04:42 PM
感謝Dera 951提供三個方式

小弟整理一下 , 雖然還沒試出來 ^^

方法一(951)

Go to "SecPol.msc > Local Policies > User Rights Assignment"
Make sure the account used for updating have the privileges stated.
The following permissions are required:
1. Back up files and directories
2. Debug programs
3. Restore files and directories
4. Manage auditing and security log
5. Take ownership of files or other objects
Note that other than local security policy, the setting can also be affected
by domain policy.
The problem could be with the Group Policy at the domain level.
On the DC, if "Manage auditing and security log" has permissions for Domain
Administrator only, remove it.

方法二(951)

http://support.microsoft.com/kb/313222

方法三(951)

另外一例為XpPro也參考看看
I found a bit of a workaround, but honestly not sure what caused the issue in
the first place. This was done on a laptop running WinXP Pro. I manually
downloaded Windows Installer 3.1, booted to safe mode and installed it
successfully while logged in as Administrator. Rebooted and let it come up
normally and all other updates applied successfully.

方法四

http://support.microsoft.com/?kbid=896227&SD=tech

方法五

Register the DLL files:
Click Start · Run and type "cmd" without the quotes and press enter. Type in
the following and press return after each line:
REGSVR32 %windir%\system32\wuapi.dll
REGSVR32 %windir%\system32\wuaueng.dll
REGSVR32 %windir%\system32\atl.dll
REGSVR32 %windir%\system32\wucltui.dll
REGSVR32 %windir%\system32\wups.dll
Enter "exit" and press enter.

方法六

單獨處理Windows Installer(跟方法三一樣)
http://support.microsoft.com/?kbid=893803

方法七

使用WinMerge
比對secpol.msc

方法八

使用WinMerge
比對regedit

方法九

比對兩台的%WINDIR% , "Program Files" , "Documents and Settings"

方法十

還沒想到 , 不過方法七的部份還可以起死回生 , 現在缺的是架一台Lab ^^

門神
2006-10-31, 05:01 PM
補充一下

做法應該是找%systemroot%中的WindowsUpdate.log和KBxxxxx.log

裏面有相關的錯誤訊息 !!

正在研究中 ^^

其實在方法一應該就要能成功了

只是我的問題比較特殊 , 小弟還在頭痛中

門神
2006-11-01, 08:42 AM
0x8007f004這問題解掉了 !!

原則上是在方法一就可以解了 , 這問題有趣
Windows 2000 Server的網域
所以加入DC的Server都不會有問題

但是DC Server經過中毒或其他人為因素
Member Server就不會再做Windows Update了
以上的方法提供給同好研究