Friday, March 28, 2008

WSUS 3.0 Client not report to server

IF you have facing the problem like the log shows

2008-03-28 12:10:24:947 1152 274 AU ## START ## AU: Search for updates
2008-03-28 12:10:24:947 1152 274 AU #########
2008-03-28 12:10:24:947 1152 274 AU <<## SUBMITTED ## AU: Search for updates [CallId = {C98707A2-D7AF-4D38-A4D5-BAA0482F53E3}]
2008-03-28 12:10:24:947 1152 864 Agent *************
2008-03-28 12:10:24:947 1152 864 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates]
2008-03-28 12:10:24:947 1152 864 Agent *********
2008-03-28 12:10:24:947 1152 864 Agent * Online = Yes; Ignore download priority = No
2008-03-28 12:10:24:947 1152 864 Agent * Criteria = "IsHidden=0 and IsInstalled=0 and DeploymentAction='Installation' and IsAssigned=1 or IsHidden=0 and IsPresent=1 and DeploymentAction='Uninstallation' and IsAssigned=1 or IsHidden=0 and IsInstalled=1 and DeploymentAction='Installation' and IsAssigned=1 and RebootRequired=1 or IsHidden=0 and IsInstalled=0 and DeploymentAction='Uninstallation' and IsAssigned=1 and RebootRequired=1"
2008-03-28 12:10:24:947 1152 864 Agent * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}
2008-03-28 12:10:24:947 1152 864 Misc Validating signature for C:\WINDOWS\SoftwareDistribution\SelfUpdate\Default\wuident.cab:
2008-03-28 12:10:24:963 1152 864 Misc Microsoft signed: Yes
2008-03-28 12:10:24:979 1152 864 Misc Validating signature for C:\WINDOWS\SoftwareDistribution\SelfUpdate\Default\wuident.cab:
2008-03-28 12:10:24:994 1152 864 Misc Microsoft signed: Yes
2008-03-28 12:10:25:010 1152 864 Misc Validating signature for C:\WINDOWS\SoftwareDistribution\SelfUpdate\Default\wsus3setup.cab:
2008-03-28 12:10:25:025 1152 864 Misc Microsoft signed: Yes
2008-03-28 12:10:25:025 1152 864 Setup *********** Setup: Checking whether self-update is required ***********
2008-03-28 12:10:25:025 1152 864 Setup * Inf file: C:\WINDOWS\SoftwareDistribution\SelfUpdate\Default\wsus3setup.inf
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\cdm.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuapi.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuapi.dll.mui: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuauclt.exe: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuaucpl.cpl: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuaucpl.cpl.mui: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuaueng.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuaueng.dll.mui: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wucltui.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wucltui.dll.mui: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\SoftwareDistribution\Setup\ServiceStartup\wups.dll\7.1.6001.65\wups.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\SoftwareDistribution\Setup\ServiceStartup\wups2.dll\7.1.6001.65\wups2.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup Update NOT required for C:\WINDOWS\system32\wuweb.dll: target version = 7.1.6001.65, required version = 7.1.6001.65
2008-03-28 12:10:25:041 1152 864 Setup * IsUpdateRequired = No
2008-03-28 12:10:26:709 1152 864 PT +++++++++++ PT: Synchronizing server updates +++++++++++
2008-03-28 12:10:26:709 1152 864 PT + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://sbslche-epo/ClientWebService/client.asmx
2008-03-28 12:10:26:974 1152 864 PT WARNING: Cached cookie has expired or new PID is available
2008-03-28 12:10:26:974 1152 864 PT Initializing simple targeting cookie, clientId = 822799aa-75a6-425a-908f-4556747e5551, target group = , DNS name = sbslche-pc0483.sbslche.com
2008-03-28 12:10:26:974 1152 864 PT Server URL = http://sbslche-epo/SimpleAuthWebService/SimpleAuth.asmx
2008-03-28 12:10:26:974 1152 864 PT WARNING: GetAuthorizationCookie failure, error = 0x80244017, soap client error = 10, soap error code = 0, HTTP status code = 401
2008-03-28 12:10:26:974 1152 864 PT WARNING: Failed to initialize Simple Targeting Cookie: 0x80244017
2008-03-28 12:10:26:974 1152 864 PT WARNING: PopulateAuthCookies failed: 0x80244017
2008-03-28 12:10:26:974 1152 864 PT WARNING: RefreshCookie failed: 0x80244017
2008-03-28 12:10:26:974 1152 864 PT WARNING: RefreshPTState failed: 0x80244017
2008-03-28 12:10:26:974 1152 864 PT WARNING: Sync of Updates: 0x80244017
2008-03-28 12:10:26:974 1152 864 PT WARNING: SyncServerUpdatesInternal failed: 0x80244017
2008-03-28 12:10:26:974 1152 864 Agent * WARNING: Failed to synchronize, error = 0x80244017
2008-03-28 12:10:26:974 1152 864 Agent * WARNING: Exit code = 0x80244017
2008-03-28 12:10:26:974 1152 864 Agent *********
2008-03-28 12:10:26:974 1152 864 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2008-03-28 12:10:26:974 1152 864 Agent *************


Answer:

Just add IUSR_MachineName to users group and restart the IIS.
More help Pls vist: Microsoft

Wednesday, March 26, 2008

Block automatic updates from IE6 to IE7

1. Start regedit.exe

2. Create the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Setup\7.0

3. Click the Edit menu and select New and then DWORD value.

4. Name this new DWORD: DoNotAllowIE70

5. Set the value of this DWORD to a value of 1.

You can also download Microsoft's IE7 Blocker Toolkit as another option.

Thursday, March 20, 2008

Bulk Users Import to Active Directory

Bulk Users creation to windows 2003 domain.
Create one excel file name is user5.xls.

Type fill givenname and sn filed. Also change your ou and domain name.


































Save as the excel file to users5.csv file














Delete unwanted field of emp.code.

Finally save this file user5.csv

goto domain command prompt type

c:\csvde -i -f user5.csv

After that all users are imported to active directory. Next step is enable the account and Passoword using the following script.

' start script
' PwdLastSet.vbs
' Example VBScript to FORCE a user's password change
' Author Ulrich P amended by Guy Thomas
' Version 2.0 - October 17th 2004
' ---------------------------------------------------------'
Option Explicit
Dim objOU, objUser, objRootDSE
Dim strContainer, strLastUser, strDNSDomain, strPassword
Dim intCounter, intAccValue, intPwdValue

Set objRootDSE = GetObject("LDAP://RootDSE")
strDNSDomain = objRootDSE.Get("DefaultNamingContext")
intAccValue = 544
intPwdValue = 0

' --------------------------------------------------------'
' Important change OU= to reflect your domain
' --------------------------------------------------------'

strContainer = "OU=Test, "
strPassword = "P@ssw0rd"

' -------------------------------------------------------'
' Makes the user change P@ssw0rd at first logon
' -------------------------------------------------------'

strContainer = strContainer & strDNSDomain

set objOU =GetObject("LDAP://" & strContainer )
intCounter = 0
For each objUser in objOU
If objUser.class="user" then
objUser.SetPassword strPassword
objUser.SetInfo

objUser.Put "pwdLastSet", intPwdValue
objUser.SetInfo

objUser.Put "userAccountControl", intAccValue
objUser.SetInfo
intCounter = intCounter +1
strLastUser = objUser.Get ("name")
End if
next

WScript.Echo strPassword & " is Password. UserAccountValue = " _
& intAccValue
WScript.Quit

' End of Script

copy and paste this script to PwdLastSet.vbs and run this file.

If you want excel file, csv file and script file

Excel file
Csv file
script file

Fell free leave some comments....