Posts

Showing posts from 2014

SCCM PXE Error after booting – The certificate associated with this media has expired

Image
Issue: OSD Stops working as "Client Distribution point certificate" has expired Error: PXE-053 No boot file name received. Description:   Today when i tried to boot a computer we started witnessing above error message. Immediately i opened "SMSPXE.log" file and found following string Certificate [Thumbprint A0CADB6E2DA5CBAFB8860F5054A50FC011F80D53] issued to 'PRI' Server has expired. SMSPXE 9/29/2014 4:05:02 PM 2472 (0x09A8).  Also you'll start receiving this error message on TS before certificate gets expired. Solution: Renew the Distribution Client Certificate using below steps: 1. Log in to Primary site server, open mmc and Add "Certificates Snap-in"  2. Under Personal Ceretificate store, you will find distribution point certificate 3. Right click on it " Request Certificate with New key and Click enroll". 4. Export this certificate with private key and import in distribution point setting

Query to find both x64 and x86 system with a program installed.

The following query returns all the x64 and x86 systems that are installed with VMWare tools. You can replace “VMware Tools” with your program Add Remove Program’s to query for other programs. Select SMS_R_System.NetbiosName from SMS_R_System where SMS_R_System.ResourceId in (select SMS_R_System.ResourceID from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = "VMware Tools") or SMS_R_System.ResourceId in (select SMS_R_System.ResourceID from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS_64 on SMS_G_System_ADD_REMOVE_PROGRAMS_64.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS_64.DisplayName = "VMware Tools") order by SMS_R_System.NetbiosName This is a WQL Collection query so there will be no Version# column, but you could query for version by adding this line after the DisplayName query i

What to do when your USB device doesn't work

Image
Clearly, something is broken. But is it hardware, software, the device or the computer? That's going to take some experimentation. First, let's get the obvious out of the way: Unplug the device, then plug it again . Did that fix the problem? If not, unplug it again, reboot your PC, and then plug it in again. Did that help? How about trying another port? No? Well, it was worth a try. Since the problem persists, let's get on to more serious tests. Try the same device on another PC, and try another USB device on your PC. If the device fails to work on both PCs, you have a defective device. You might be able to fix the problem with a driver update. USB devices are supposed to install their own drivers when you plug them into a PC, but occasionally that doesn't work. Go to the device manufacturer's website and see if there is a Windows driver available. If you there is, download and install the driver. If that won't solve the problem, accept that you've got a d

Windows Update issue - enforecement state unknown

Issue : - Software updates to the any of the servers not going thru.. Whereas software distribution works fine, deployment states report says "Enforcement state unknown" Error Message: - Below error found in “WUAhandler logs." Enabling WUA Managed server policy to use server: http://server1.contoso.com:80 waiting for 2 mins for Group Policy to notify of WUA policy change... Timed out waiting for Group Policy notification. Group policy settings were overwritten by a higher authority (Domain Controller) to: Server and Policy NOT CONFIGURED Failed to Add Update Source for WUAgent of type (2) and id ({08250946-C9EB-443F-87A4-6AD5B2E5FB2D}). Error = 0x80040692. Solution: - Firstly check below GPs details? It can be a gpo conflict: These three policies mentioned should not be configured from domain level. The SCCM client will apply the policy whenever it is required. a. Allow signed content from intranet Microsoft update service location. b. Specify intrane

Most used and simple methods to reset Windows password

Most used and simple methods to reset Windows password Windows give you the option of having a Windows password to log on.This is useful when more than one user profiles are enabled. "I forgot Windows password. How do I reset my Windows password?" is a hot topic nowadays. You should set strong Windows password for better security. But you should also know how to make a password reset disk in advance to in case that you forget the password in future, or how to eliminate the password for more convenient login. Now you will see some cases and the solution of problem. You can't log into computer The problem that how to reset Windows password is linked with a forgotten Windows password for most of the time. Many people look for a solution to this problem is easily because they forgot Windows password and can't log into the computer anymore. If you came have a similar problem, you can reset Windows password by using several methods. 1.Free Windows password recover

Power Shell stuff

1.  Replacing characters in csv file using below sample code: $csv001 = import-csv "C:\Users\sumeet.kumar\Desktop\Services\Scripts\Power Shell Scripts\Sending reboot notification\Computers with last logged on user from collection Username0.csv" $csv001 | foreach-object { $_.username0 = $_.username0.replace("Domain\","") } $csv001 | export-csv  "C:\Users\sumeet.kumar\Desktop\Services\Scripts\Power Shell Scripts\Sending reboot notification\Computers with last logged on user from collection Username001.csv" -notype Reference: http://social.technet.microsoft.com/Forums/windowsserver/en-US/0ad9ad37-b99b-418a-b139-34752b0927dc/powershell-importcsv-then-replace-character-then-exportcsv 2.  Appending characters in csv file using below code: $csv003 = import-csv "C:\Users\sumeet.kumar\Desktop\Services\Scripts\Power Shell Scripts\Sending reboot notification\Computers with last logged on user from collection Username001.csv" $csv003 | fo

'Failed to insert OSD binaries into the WIM file' when injecting network drivers into Boot Image SCCM 2012

Issue: Today when I was trying to PXE boot Lenovo T440s for the first time, image started failing at “Task Sequence Window comes” (TS window wasn’t appearing). Tried This… After this I assumed that can be a problem with the LAN drivers, immediately I started injecting boot image with Lenovo’s Latest LAN drivers BUT it failed with following below error. Error Message: “Failed to inject a ConfigMgr driver into the mounted WIM file” The ConfigMgr Provider reported an error.: ConfigMgr Error Object: instance of SMS_ExtendedStatus { Description = “Failed to insert OSD binaries into the WIM file”; ErrorCode = 2152205056; File = “e:\nts_sms_fre\sms\siteserver\sdk_provider\smsprov\sspbootimagepackage.cpp”; Line = 4262; ObjectInfo = “CSspBootImagePackage: reRefreshPkgSrcHook”; Operation = “ExecMethod”; ParameterInfo = “SMS_BootImagePackage.PackageID=”S0100002″”; ProviderName = “WinMgmt”; StatusCode = 2147749889; }; Resolution: Tried following steps:   We crea

How to Backup SCM 2012 Server

Web Links - 1.  http://prajwaldesai.com/how-to-backup-sccm-2012-r2-server/ 2. http://myitforum.com/myitforumwp/2014/02/24/configmgr-2012-site-backup-and-recovery-overview/

SCCM 2012: Hierarchy Monitoring detected that the ConfigMgr SQL Server ports 1433,4022, are not active on Firewall exception

Issue : ConfigMgr logs the error even though Windows Firewall is disabled or it is enabled and all exceptions are added to SQL Server(s). Environment: I had an environment  consist of a two node SQL Cluster hosting ConfigMgr database and a separate ConfigMgr primary site server Resolution : Windows firewall service must be started on both SQL nodes   and ConfigMgr itself   . As soon as the service is started exceptions for TCP 1433 and 4022 must be added to SQL nodes firewall. After that the firewall profiles can be disabled using: netsh advf set allp state off Reference:  http://777notes.wordpress.com/2012/07/24/sccm-2012-hierarchy-monitoring-detected-that-the-configmgr-sql-server-sql_name-ports-14334022-are-not-active-on-firewall-exception/

Add Copy To or Move TO on Windows 7 Right Click Menu

Image
Add Copy To or Move To On Windows 7 Right Click Menu – In this post we will see the steps on how to add copy to or move to on windows 7 right click menu. While there are lot of registry hacks available for Windows, one of them allows you to add a   Copy To   or   Move To   on Windows 7 right click menu. This option can be very useful when you want to move or copy a file but don’t have the other folder open already. Before you make any changes to the registry it is recommended to take a backup of registry. We will now see the steps to add copy to or move to on windows 7 right click menu manually. Add Copy To Folder To open the   Registry Editor   on your Windows 7 computer, hold the Windows Key + press R to open the run, type   regedit to open the   Registry Editor . In the Registry Editor navigate to the following key: HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers.  Right click the   ContextMenuHandlers   and click   New   and click   Key . The value of

Outdated entry in the DNS cache error when using Remote Desktop

You may sometimes get error messages about outdated entries in the DNS cache, when you are using remote desktop. (The connection cannot be completed because the remote computer that was reached is not the one you specified. This could be caused by an outdated entry in the DNS cache. Try using the IP address of the computer instead of the name.) The first thing you should do, is to make sure that the clock is correct on these nodes: 1: The client machine 2: The remote machine you are connecting to 3: And if used, the domain controller(s). And of course, make sure that you don’t have any invalid dns cache. clear the dns cache by doing this in cmd: ipconfig /flushdns .

Information on the ConfigMgr 2007 client side process for Software Updates

Image
I want to take a minute and walk through the process a System Center Configuration Manager 2007 client goes through when processing Software Updates but before we get into that I'd like to explain how to find information specific to a particular update in the client side log files.  When viewing the logs on the client you need to reference the GUID that is assigned to each update. To view this GUID for all your updates you can go into the console and anywhere that updates are displayed in a list, right click on the column header (where it has Bulletin ID, Article ID, etc…) and select View –> Add/Remove Columns. You then have to select “Unique Update ID” in the left list and then select “Add”. Now select “Move Up” until the Unique Update ID is the first one in the list on the right. Now if you look at the console, you will see the GUID as the first column in the window, then find your update and you now have the GUID for that update. You can see the updated console display here