Force Syncing State Messages on SCCM 2012 R2 Clients

Overview of State Messages:

State Messages are sent by SCCM clients to MP in certain interval of time. The result of state messages is largely only seen in reports, various data in the console (such as number of systems needing a patch) or the client logs themselves. State messages are very small and update the condition of client’s patching or configuration management on the MP, so that you can track the progress of your deployment.

However in some cases, SCCM clients miss to send state messages of certain activities, e.g. a client get patched and rebooted, it prepare itself to send state message but got busy in other high priority works and then it forget to send that state message. Later client gets another sets of patches and it sent state message to MP updating its status with recent patches. When you check reports you find that client is non-compliant for previous months patches whereas patches were installed on the client. In this case you have to forcefully sync full state message on the client.

There is a powershell script to forcefully sync state messages on SCCM clients, but if you have large number of clients then deploying this script using SCCM would be a good idea. So why not deploy the script as a package?

Read More

I don’t find my Powershell profile path that I see in Powershell using $profile

Hi Guys, Powershell has made a long journey so far and most of the people may have started playing with it. But sometimes simple things can even cause pain in a**. This Topic is about a question, that is frequently asked on internet by powershell users around the globe.

Question:

Strange, I don’t find my Powershell profile in windows explorer that I see in Powershell when hitting $profile cmd?

Read More

Error while installing .Net Framework 3.5 on Windows server 2012 R2: 0x800F0906, 0x800F081F

Hi folks, If you are the one like me who faced this error while installing .Net Framework 3.5 on windows server 2012 R2, you are at right place. I know your pain 🙂 . I have found the solution to this issue and posted here, check it out.

.Net Framwork 3.5 is not actually installed by default on Windows server 2012 R2, and while you have the option to install it from Server Manager. But installation of .Net 3.5 fails with following error-

Installation of one or more roles, role services, or features failed.
The source files could not be found. Try installing the roles, role services, or features again in a new Add Roles and Features Wizard session, and on the Confirmation page of the wizard, clik “Specify an alternate source path” to specify a valid location of the source files …..blah blah blah”

 

Read More

How to Install Root Certificate Authority in Windows Server 2012 R2

In this article I am going to install an Enterprise Root Certificate Authority on windows server 2012 R2 server.

Pr-requisite:

  1. For installing Enterprise Root Certificate Authority, you must be having a Domain controller present.
  2. DNS is required.
  3. You can install Root Certificate Authority on a Windows 2012 R2 Domain controller, but recommended is to have it in a separate machine.

 

Read More

Performing Offline Defragmentation of Active Directory Database

Going to upgrade your Active directory from windows 2003 to windows 2008 R2? You can optimize Active directory performance or Active directory replication by performing offline defragment of Active directory database. If you think your directory database is huge than normal, you might want to perform offline defragment to reduce the size and in result of that any new domain controller that you’ll be promoting will be having reduced database size when it replicates from the domain controller having defragmented database.

Active directory automatically performs online defragmentation of the database at certain intervals (by default, every 12 hours) as part of the Garbage Collection process. Online defragmentation does not reduce the size of the database file (Ntds.dit), but instead optimizes data storage in the database and reclaims space in the directory for new objects. Performing an offline defragmentation creates a new, compacted version of the database file. Depending on how fragmented the original database file was, the new file may be considerably smaller.

Read More

Script to find all Windows Terminal Servers in a domain

Hello Folks,

If anyone of you are struggling to find out all the terminal servers running in your environment, I’ve written a Powershell script to find out terminal servers running on windows server 2003 and windows server 2008 R2 OS. This script will find out the value of TerminalServermode on each server by using WMI query on class “Win32_terminalservicesetting”. Please note that WMI Namespace for this class is different in Windows server 2003 and Windows server 2008 R2-

Read More

How To Make a Brand Page On Google+ Plus

Google Plus pages getting more popularity than Facebook pages so if you are looking for an article where you can get all the steps which will show you how to make a page on Google + then you are at right place, in this article we are going to describe you each step with simple points to explain you the procedure of making a page on Google + (G+). Here in this article we will capture and focus on the procedure of making ‘Brand Page’ on Google Plus. We are sure all the people who are looking for it, this article will help you so keep reading this article to get all the necessary information about it.

Steps to Make Brand Page on Google+ Plus –

Hey friends, the very first step to minimize the distance from you to your destination is, create a Gmail account (If you don’t have any). Reference Picture is given below.

Read More

Bare Metal Restore of Windows Server 2008 R2 Domain Controller

With Windows Server 2008 R2 you can perform a Bare Metal Restore of a server that has suffered a catastrophic failure without having to install the OS and then the backup agent. Bare Metal restore is like imaging the system and recovering the system back using the image.

It is not recommended to restore domain controller using bare metal when you have other DCs in the network, because this doesn’t reset the invocation id of active directory database.

 

Read More