Wolf
asked on
No task sequence found when deploying an SCCM build and capture task sequence
Hello
I created an SCCM 2012 task sequence to build and capture a server 2012 image.
Created a collection containing a computer with a mac address of a blank virtual machine, and then deployed that task sequence to the vm.
The vm boots into sccm but it then says that no task sequence can be found for the computer
Any ideas?
Thanks in advance
I created an SCCM 2012 task sequence to build and capture a server 2012 image.
Created a collection containing a computer with a mac address of a blank virtual machine, and then deployed that task sequence to the vm.
The vm boots into sccm but it then says that no task sequence can be found for the computer
Any ideas?
Thanks in advance
ASKER
I'm trying to deploy an OS to the VM, and then capture it, over PXE.
I tried deploying the task sequence to both the unknown computers group, and to the collection with the VM inside it. It still says no task sequence available
I tried deploying the task sequence to both the unknown computers group, and to the collection with the VM inside it. It still says no task sequence available
Has this Task Sequence been run on this device previously? Even if it didnt complete?
If so, clearing the required Task Sequences for that device record may solve it for you.
Though, my gut suggestion would be to leave the Task Sequence deployment to the All Unknown Computers collection active, then delete the VM record you have created. Let the Unknown Computers collection pick it up and run the Task Sequence from there.
If so, clearing the required Task Sequences for that device record may solve it for you.
Though, my gut suggestion would be to leave the Task Sequence deployment to the All Unknown Computers collection active, then delete the VM record you have created. Let the Unknown Computers collection pick it up and run the Task Sequence from there.
I agree, delete the computer record that is currently in the system and let the unknown computers collection do its thing.
ASKER
Thanks, i left this overnight and tried again this morning. It picked up all the tasks sequences that i tried to deploy yesterday, and i managed to capture the reference image.
Now, when i try to deploy that reference image, i deploy it to the unknown computers collection. How long should it take for that task sequence to "hit" the unknown computers?
I have a new fresh blank Virtual Machine ready, but its saying the usual no task sequence found
Now, when i try to deploy that reference image, i deploy it to the unknown computers collection. How long should it take for that task sequence to "hit" the unknown computers?
I have a new fresh blank Virtual Machine ready, but its saying the usual no task sequence found
Do you have the same architecture on the VM as the image?
Also you need to make sure the the task sequence is deployed to the x64 or x86 boot image in order for it to pick up.
Also you need to make sure the the task sequence is deployed to the x64 or x86 boot image in order for it to pick up.
The deployment should be virtually instant. Have you added the VM to the SCCM Database? If so, delete it.
Is it a completely new "just been created" vm with a completely new MAC address?? You can search SCCM database by a query for the MAC address to confirm it is not already in there:
That is the query I use. Just run the query and type in the MAC address of the device you are looking for. Remember to insert a colon between each octet: 00:00:00:00:00:00
This query will show all entries in the database corresponding to that MAC address. You will then need to go to the Devices node and delete the relevant named device. (Cant do it from inside the query unfortunately).
Is it a completely new "just been created" vm with a completely new MAC address?? You can search SCCM database by a query for the MAC address to confirm it is not already in there:
select SMS_R_System.Name, SMS_R_System.MACAddresses, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.Active from SMS_R_System where SMS_R_System.MACAddresses = ##PRM:SMS_R_System.MACAddresses##
That is the query I use. Just run the query and type in the MAC address of the device you are looking for. Remember to insert a colon between each octet: 00:00:00:00:00:00
This query will show all entries in the database corresponding to that MAC address. You will then need to go to the Devices node and delete the relevant named device. (Cant do it from inside the query unfortunately).
ASKER
Yes, its a new VM with a new MAC address.
When i boot the VM i monitor the SMSPXE.log file and it sees that the device is not in the database, and then says "found optional advertisement EUR20043" which is the task sequence deployment.
However, once the VM has finished booting into SCCM, i get passed the pxe password screen, and it says no task sequence available.
If i then do a query for the MAC address or the GUID BIOS info it finds the device in the database, and SCCM has simply named it "unknown", but its not in the unknown computers collection.
I can then delete that from the database, run through the whole thing again, and the same thing happens where it sees its not in the database, but then adds it
See attached screenshots
ScreenHunter-208-Jul.-09-12.51.jpg
ScreenHunter-209-Jul.-09-12.55.jpg
ScreenHunter-210-Jul.-09-12.55.jpg
When i boot the VM i monitor the SMSPXE.log file and it sees that the device is not in the database, and then says "found optional advertisement EUR20043" which is the task sequence deployment.
However, once the VM has finished booting into SCCM, i get passed the pxe password screen, and it says no task sequence available.
If i then do a query for the MAC address or the GUID BIOS info it finds the device in the database, and SCCM has simply named it "unknown", but its not in the unknown computers collection.
I can then delete that from the database, run through the whole thing again, and the same thing happens where it sees its not in the database, but then adds it
See attached screenshots
ScreenHunter-208-Jul.-09-12.51.jpg
ScreenHunter-209-Jul.-09-12.55.jpg
ScreenHunter-210-Jul.-09-12.55.jpg
Please upload smsts.log
Just a quick thought, has your Task Sequence deployment been set to this for the unknown computers collection?
I cant easily check whether this would even give you the result you are getting, the environment I am working in at the moment has all standard Task Sequences available to all devices (PXE and Boot media only, and yes the risks have all but been mitigated! haha), but the above is the default setting when creating a Task Sequence deployment, so may have been overlooked.
Anyway, if it is set to the above, you will need to change it to be available to PXE and Boot media.
I cant easily check whether this would even give you the result you are getting, the environment I am working in at the moment has all standard Task Sequences available to all devices (PXE and Boot media only, and yes the risks have all but been mitigated! haha), but the above is the default setting when creating a Task Sequence deployment, so may have been overlooked.
Anyway, if it is set to the above, you will need to change it to be available to PXE and Boot media.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
1) Out of my comfort zone, one of the other helpful guys here may have more knowledge on that.
2) Error message translates to: Access Denied. Which step did it die on? Do you have command support enabled on that task sequence?
2) Error message translates to: Access Denied. Which step did it die on? Do you have command support enabled on that task sequence?
ASKER
Left the task sequence running overnight and it was picked up the next morning. I wasn't being patient enough
Are you trying to deploy or capture an OS to/from the VM?