{"id":751,"date":"2009-07-03T16:25:28","date_gmt":"2009-07-03T14:25:28","guid":{"rendered":"http:\/\/contoso.se\/blog\/?p=751"},"modified":"2009-07-12T19:37:14","modified_gmt":"2009-07-12T17:37:14","slug":"changing-passwords-with-operations-manager","status":"publish","type":"post","link":"http:\/\/contoso.se\/blog\/?p=751","title":{"rendered":"Changing Passwords with Operations Manager"},"content":{"rendered":"<p>Yesterday when I was going to do some tests in one of my labs I could not remember the password. Fortunately the Operations Manager R2 RMS machine was unlocked so I could use it. I then created a rule that ran a modification of the following script on each machine, and swish! I could logon again \ud83d\ude42<br \/>\n<code><br \/>\nSet WshNetwork = WScript.CreateObject(\"WScript.Network\")<br \/>\nstrComputer = WshNetwork.ComputerName<br \/>\nstrComputer = \".\"<br \/>\nSet objUser = GetObject(\"WinNT:\/\/\" & strComputer & \"\/Administrator,user\")<br \/>\nobjUser.SetPassword \"NewPasswordHere\"<br \/>\nobjUser.SetInfo<br \/>\n<\/code><\/p>\n<p>With that in mind it is funny how some organization look at security and accounts. It is not unusual that a consultant or co-worker get Administrator permissions or Author permissions in Operations Manager, but they would never get full exchange administrator or domain administrator permissions in the environment.<\/p>\n<p>Some interesting link regarding the subject, <a href=\"http:\/\/download.microsoft.com\/download\/B\/F\/D\/BFDD0F66-1637-4EA3-8E6E-8D03001E5E66\/OM2007R2_SecurityGuide.docx\">Ops Mgr security guide<\/a> and <a href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?displaylang=en&#038;FamilyID=c22c81eb-c6dc-4190-a4c9-2edbf5b528f1\">Ops Mgr Security Hardening Guide<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday when I was going to do some tests in one of my labs I could not remember the password. Fortunately the Operations Manager R2 RMS machine was unlocked so I could use it. I then created a rule that ran a modification of the following script on each machine, and swish! I could logon &hellip; <a href=\"http:\/\/contoso.se\/blog\/?p=751\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[13,19],"tags":[],"_links":{"self":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/751"}],"collection":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=751"}],"version-history":[{"count":8,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/751\/revisions"}],"predecessor-version":[{"id":804,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/751\/revisions\/804"}],"wp:attachment":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=751"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}