Sam_Brown Posted March 3, 2014 Report post Posted March 3, 2014 Microsoft provided me with two SQL queries to run against the database. This one will check for bad policies in the database. if no results are returned from this query then you don't have the same issue. SELECT * FROM ResPolicyMap WHERE machineid = 0 and PADBID IN (SELECT PADBID FROM PolicyAssignment WHERE BodyHash IS NULL) This one will remove any bad policies if there are any. Delete FROM ResPolicyMap WHERE machineid = 0 and PADBID IN (SELECT PADBID FROM PolicyAssignment WHERE BodyHash IS NULL) After that restart the management point and everything should be working normally. I thought I'd register and post a thank you for this post because it managed to fix an issue I'd been having for a few days. Also for anyone else that cares this also fixed a few issues we had with deploying clients and the clients not communicating with the SCCM Server and installing SCEP. Quote Share this post Link to post Share on other sites More sharing options...
srjac68 Posted September 16, 2014 Report post Posted September 16, 2014 Microsoft provided me with two SQL queries to run against the database. This one will check for bad policies in the database. if no results are returned from this query then you don't have the same issue. SELECT * FROM ResPolicyMap WHERE machineid = 0 and PADBID IN (SELECT PADBID FROM PolicyAssignment WHERE BodyHash IS NULL) This one will remove any bad policies if there are any. Delete FROM ResPolicyMap WHERE machineid = 0 and PADBID IN (SELECT PADBID FROM PolicyAssignment WHERE BodyHash IS NULL) After that restart the management point and everything should be working normally. This query resolved my issue of my staging collections of OSD deployments were not seeing their assigned OSD task sequences. Thanks for the post it helped me out greatly! Quote Share this post Link to post Share on other sites More sharing options...
SDR-Team Posted October 16, 2014 Report post Posted October 16, 2014 Microsoft provided me with two SQL queries to run against the database. This one will check for bad policies in the database. if no results are returned from this query then you don't have the same issue. SELECT * FROM ResPolicyMap WHERE machineid = 0 and PADBID IN (SELECT PADBID FROM PolicyAssignment WHERE BodyHash IS NULL) This one will remove any bad policies if there are any. Delete FROM ResPolicyMap WHERE machineid = 0 and PADBID IN (SELECT PADBID FROM PolicyAssignment WHERE BodyHash IS NULL) After that restart the management point and everything should be working normally. This solved our Problem, after we stuck for 2 Weeks trying to resolve it we had the Error: no task sequences available for this computer error code 80004005 Thank you very much! Quote Share this post Link to post Share on other sites More sharing options...
jcortez103 Posted January 15, 2015 Report post Posted January 15, 2015 Microsoft provided me with two SQL queries to run against the database. This one will check for bad policies in the database. if no results are returned from this query then you don't have the same issue. SELECT * FROM ResPolicyMap WHERE machineid = 0 and PADBID IN (SELECT PADBID FROM PolicyAssignment WHERE BodyHash IS NULL) This one will remove any bad policies if there are any. Delete FROM ResPolicyMap WHERE machineid = 0 and PADBID IN (SELECT PADBID FROM PolicyAssignment WHERE BodyHash IS NULL) After that restart the management point and everything should be working normally. Just checking in to thank you. This solved my problem as well! Quote Share this post Link to post Share on other sites More sharing options...
BogdanR Posted March 4, 2015 Report post Posted March 4, 2015 Microsoft provided me with two SQL queries to run against the database. This one will check for bad policies in the database. if no results are returned from this query then you don't have the same issue. SELECT * FROM ResPolicyMap WHERE machineid = 0 and PADBID IN (SELECT PADBID FROM PolicyAssignment WHERE BodyHash IS NULL) This one will remove any bad policies if there are any. Delete FROM ResPolicyMap WHERE machineid = 0 and PADBID IN (SELECT PADBID FROM PolicyAssignment WHERE BodyHash IS NULL) After that restart the management point and everything should be working normally. Works like a charm ! In my case it wasn't necessary to restart the management point service. Thank you for your solution. Quote Share this post Link to post Share on other sites More sharing options...