Developers Jos Posted November 2, 2012 Developers Share Posted November 2, 2012 But why would SCCM use the credentials of the logged-in user? Normally it is the Service which is using the Windows SYSTEM account or am I not understanding the scenario correctly here? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted November 2, 2012 Moderators Share Posted November 2, 2012 (edited) But why would SCCM use the credentials of the logged-in user?Normally it is the Service which is using the Windows SYSTEM account or am I not understanding the scenario correctly here?JosYou are correct. When creating a collection to push software to machines, you have the option to run the install whether or not anyone is logged in (use the SYSTEM account), or run only when a user is logged in, and run it under their credentials. If you have users that are not administrators locally, most organizations default to the former rather than the latter. Edited November 2, 2012 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
RBrown1375 Posted November 2, 2012 Author Share Posted November 2, 2012 (edited) Sorry, I have it set to Run as Admin weither or not the user is logged in currently but I also tried the "run as user". I also just added : Local $sUserName = "Administrator" Local $sPassword = "SomePassword" RunAs($sUserName, @ComputerName, $sPassword, 0, @SystemDir) and removed the #RequireAdmin setting I just SCCM to Run with User's rights: Only when logged in. They have admin rights on the box. Have a good weekend. Edited November 2, 2012 by RBrown1375 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted November 2, 2012 Moderators Share Posted November 2, 2012 Just so you understand, SCCM is doing a RunAs SYSTEM, and then you're doing a RunAs Administrator. That may not be the most reliable method. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now