Tuesday, July 30, 2013

WSUS Connection ERROR


ERROR :

WSUS ERROR LOG :
                                    The WSUS administration console was unable to connect to the WSUS Server via the remote API.

EVENTVIEWER :


                                  The description for Event ID 17137 from source MSSQL$MICROSOFT##SSEE cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.



RESOLUTION : 

WSUS internal Database corruption is due to the patching of WSUS Server. restarting of “Windows Internal Database” service was established the successful connection.



Wednesday, July 3, 2013

DEPLOYING OFFICE TEMPLATE TO ALL LOGGED ON USERS USING SCCM

Deploying Office Template to all workstations Using SCCM

Step 1 : Make batch Script, save this file as .bat

Batch SCRIPT :


@echo off
copy <shared path of Template file> "%Appdata%\Microsoft\templates"
copy <shared path of Template file> "%Appdata%\Microsoft\Templates"

Step 2 : Create package -> Follow standard steps
Step 3 : Create Program -> Follow standard steps + environment option -> only when user is logged in
Step 4 : Create Advertisement -> Follow standard steps

It Took 2 days to find this simple script......

How to create software distribution : http://technet.microsoft.com/en-us/library/bb632640.aspx

Thursday, June 13, 2013

SETUP WAS UNABLE TO CREATE THE WMI NAMESPACE CCM


Error : SETUP WAS UNABLE TO CREATE THE WMI NAMESPACE CCM
           Installation Failed with Error code 1603


You can resolve this issue by deleting the WMI repository. Perform the following steps to accompish this.
1. Stop the “Windows Management Instrumentation” service.
2. Rename the C:\Windows\System32\Wbem\Repository folder to repository_old or delete it.
3. Restart the “Windows Management Instrumentation service”.
4. Reinstall the SMS client.

THE PROCESS IS NOT IN BACKGROUND PROCESSING MODE SCCM 2007 + PATCH DOWNLOADING ISSUE


1) patchdownloader.log in sccm gives following error :

HttpSendRequest failed HTTP_STATUS_FORBIDDEN or HTTP_STATUS_DENIED
ERROR: DownloadContentFiles() failed with hr=0x80070193



Solution :

1) Login to sccm server.
2) Open Internet Explorer
3) if Proxy is enabled, provide your credentials, and check any website that is connecting to internet,

that's it, you are done.

Start downloading patch now,


Tuesday, June 11, 2013

SITE MAINTENANCE TASK PREDEFINED - SCCM



Predefined Maintenance Task Planning



Predefined Maintenance Task Schedules

The following table displays the predefined maintenance tasks and their default schedules.

Maintenance Task Enabled by default Default schedule
Backup ConfigMgr Site Server No None.
Clear Install Flag No Sunday between midnight and 5:00 A.M.
Delete Aged Client Access License Data No Saturday between midnight and 5:00 A.M.
Delete Aged Collected Files Yes Saturday between midnight and 5:00 A.M.
Delete Aged Computer Association Data Yes Saturday, between midnight and 5:00 A.M.
Delete Aged Configuration Management Data Yes Saturday, between midnight and 5:00 A.M.
Delete Aged Discovery Data Yes Saturday, between midnight and 5:00 A.M.
Delete Aged Inventory History Yes Saturday, between midnight and 5:00 A.M.
Delete Aged Software Metering Data Yes Daily, between midnight and 5:00 A.M.
Delete Aged Software Metering Summary Data Yes Sunday between midnight and 5:00 A.M.
Delete Aged Status Messages Yes Daily, between midnight and 5:00 A.M.
Delete Inactive Client Discovery No Saturday between midnight and 5:00 A.M.
Delete Obsolete Client Discovery Data No Saturday between midnight and 5:00 A.M.
Evaluate Provisioned AMT Computer Certificates Yes Saturday between midnight and 5:00 A.M.
Monitor Keys Yes Sunday, between midnight and 5:00 A.M.
Rebuild Indexes Yes Sunday, between midnight and 5:00 A.M.
Reset AMT Computer Passwords Yes Saturday between midnight and 5:00 A.M.
Summarize Client Access License Weekly Usage Data No Saturday between midnight and 5:00 A.M.
Summarize Software Metering File Usage Data Yes Daily, between midnight and 5:00 A.M.
Summarize Software Metering Monthly Usage Data Yes Daily, between midnight and 5:00 A.M.

  


Ref : http://technet.microsoft.com/en-us/library/bb693817.aspx

Friday, June 7, 2013

Batch script to copy any file to specified location




Copying any file to specified location :

step 1 : create a folder
step 2 : put any file which you want to copy
step 3 : specify that file name in script. as script shown below.
step 4 : script and file should be in same folder

@echo off
copy <file name> "<location>"




Deleting file using batch script

@echo off
del "c:\windows\system32\Onmobile-SP.scr"


Thursday, May 30, 2013

Fix Windows Update Error 0x80070002 + SCCM




Symptoms of Windows Update Error 0x80070002


After you have downloaded an update from Windows Update, you may receive a 0x80070002 error in the Windows Update window, and a red X may appear next to the error message. This is usually caused because some of the crucial Windows Update files are missing or corrupt.


How to fix update error 0x80070002


As is generally the case with Windows Update errors, there are usually two main methods to fix it. There is the automated method, and there is the manual method which can be time consuming and quite technical.


Method 1: Run the Microsoft Fix It tool for the automatic fix.


  • Download and run the Fix It tool from this link http://go.microsoft.com/?linkid=9665683. And follow the onscreen prompts.
  • The tool has two modes, default and aggressive, try the default mode first, and if it doesn't work, try the aggressive mode. Don't forget to restart your computer before trying to run Windows Updates again.

Method 2: Fix the issue manually.


What you have to do is to remove the Windows Update SoftwareDistribution folder, and then rerun Windows Update.


  • Click the Start Orb, then in the search box, type in services.msc, and click OK.
  • When the services window opens, find the line that says Automatic Updates, then right-click it and choose Stop.
  • Click the Start Orb->All Programs->Accessories, then open Command Prompt.
  • Type in the command  cd %windir% and press ENTER.
  • Type in the command  ren SoftwareDistribution SDTemp and press ENTER.
  • Close the command prompt window.
  • Run Windows Update again and the error should be resolved.