Home  |  Services  |  About Us  |  Contact  | 

 

Brad's TechTips - Windows

[<< Full list of Windows tips.]
 
 
Windows: Enable Remote Administration
 
Run the following code locally in a VBScript. You can call the script through Group Policy to make life easier.
 
     Set objFirewall = CreateObject("HNetCfg.FwMgr")
     Set objPolicy = objFirewall.LocalPolicy.CurrentProfile
     Set objAdminSettings = objPolicy.RemoteAdminSettings
     objAdminSettings.Enabled = TRUE
     Set objAdminSettings = Nothing
     Set objPolicy = Nothing
     Set objFirewall = Nothing