Task Sequence

Hey all,<o:p></o:p>

I have
created a TS reboot computers.<o:p></o:p>

It will be
deployed to 10 collections<o:p></o:p>

There are
some computers to be excluded<o:p></o:p>

I created a
collection called no reboot<o:p></o:p>

I set a new
variable called NoReboot and Value = 1<o:p></o:p>

I dont
want to exclude the no reboot collection from the main 10 collections as these
10 collections are used for other things as well<o:p></o:p>

How can I
get the TS to exclude any computer that has the variable NoReboot set to 1<o:p></o:p>

Much appreciated
<o:p></o:p>


September 2nd, 2015 1:08am

if your intention is to reboot the computers,why dont you create collection only for those whom you want to reboot instead of creating task sequence with multiple collections/variables etc ?

what are you trying to achieve ? You can also use Now micro right click tools which helps you to reboot the computers from specific collection.http://www.nowmicro.com/recast/feature-list/

Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 1:32am

This is a
daily reboot.<o:p></o:p>

We have
multiple business entity rebooted at different times.<o:p></o:p>

I already
have a collections for each business entity but its used for other deployments
so I cant exclude the no reboot <o:p></o:p>

Within these
collections there are some computers that we dont want to restart.<o:p></o:p>

I can
re-create these collections and create a no restart collection and exclude it
but that too much work.<o:p></o:p>


September 2nd, 2015 2:11am

instead of making it complicated,i would look at either create AD group and add the PCs to it ,create collection based on the AD group to get the computers into collection who need reboot OR create have list of computers who need reboot and focus only on them.If you have the computers follow specific naming convention or OU or subnet etc,you can create collection based on this category.
Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 2:33am

Daily reboot? What's the reason?
September 2nd, 2015 2:42am

No idea, i started here 8 weeks ago and i am still trying to wrap my head around a lot of things and this is one of them.
Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 2:52am

I do have an AD group the contain all computers that should be excluded from the restart

The AD group gets updated daily by the service desk.

The computers in there can be part of any business entity

I have a collection in SCCM that is based on that AD group.

The existing collections in SCCM that have the daily restart TS deployed to them have the No Restart computers in them

Unless I can find a way to get the TS to ignore any computer that belongs to the No Restart group then it wont work.

I dont want to add the No Restart collection in to the main collections as they are used for other deplyments

September 2nd, 2015 3:00am

If I understand it right... I would make a Collection which includes the Computers except those machines in the AD Group. The Trick is to do a Subselect.

Like This Collection Query:

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where (SMS_R_System.NetbiosName like "%Computername%" or SMS_R_System.NetbiosName like "%Computername%") and SMS_R_System.NetbiosName not in (select SMS_R_System.NetbiosName from  SMS_R_System where SMS_R_System.SystemGroupName = "DOMAIN\\YOURADGROUP")

Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 11:30am

thanks for that, I already have all that in place, what I need is some sort of a mechanism to tell the restart TS to restart every computer in a collection except a computer that have a "No Restart" value in its property which I created.

September 2nd, 2015 9:24pm

don't you think you are complicating the easy way to hard way and banging your head against the wall... anyways... in the options tab you can write a wmi query and it can fix it
Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 1:28am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics