http://bugzilla.wpkg.org/show_bug.cgi?id=148
--- Comment #8 from argr1985 <argr1...@yahoo.com> 2009-06-05 07:35:09 --- (In reply to comment #6) > I have the same issue on a Vista computer. Even the following simple script > copied from MSDN will return an "object required" error: > > const HKEY_CURRENT_USER = &H80000001 > strComputer = "." > Set oReg=GetObject( _ > "winmgmts:{impersonationLevel=impersonate}!\\" &_ > strComputer & "\root\default:StdRegProv") > strKeyPath = "Console" > strValueName = "HistoryBufferSize" > oReg.GetDWORDValue _ > HKEY_CURRENT_USER,strKeyPath,strValueName,dwValue > WScript.Echo "Current History Buffer Size: " & dwValue > > Mostly likely the registry is corrupt. However, wmidiag.vbs doesn't fix > the problem. Running "rundll32 wbemupgd, UpgradeRepository" says the > specified module could not be found. Kent, what do you think why the regesrty can be corrupted? -- Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users