{"action":"created","issue":{"url":"https://api.github.com/repos/criteo-cookbooks/ms_dotnet/issues/13","labels_url":"https://api.github.com/repos/criteo-cookbooks/ms_dotnet/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/criteo-cookbooks/ms_dotnet/issues/13/comments","events_url":"https://api.github.com/repos/criteo-cookbooks/ms_dotnet/issues/13/events","html_url":"https://github.com/criteo-cookbooks/ms_dotnet/issues/13","id":119880200,"number":13,"title":"Installing dot net 4.5.2 does not work remotely (over winrm)","user":{"login":"tophercullen","id":11668155,"avatar_url":"https://avatars.githubusercontent.com/u/11668155?v=3","gravatar_id":"","url":"https://api.github.com/users/tophercullen","html_url":"https://github.com/tophercullen","followers_url":"https://api.github.com/users/tophercullen/followers","following_url":"https://api.github.com/users/tophercullen/following{/other_user}","gists_url":"https://api.github.com/users/tophercullen/gists{/gist_id}","starred_url":"https://api.github.com/users/tophercullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tophercullen/subscriptions","organizations_url":"https://api.github.com/users/tophercullen/orgs","repos_url":"https://api.github.com/users/tophercullen/repos","events_url":"https://api.github.com/users/tophercullen/events{/privacy}","received_events_url":"https://api.github.com/users/tophercullen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/criteo-cookbooks/ms_dotnet/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-02T06:55:21Z","updated_at":"2015-12-02T16:49:27Z","closed_at":"2015-12-02T15:19:06Z","body":"The 4.5.2 installer uses WUSA which is restricted for remote shells. Trying to bootstrap or run chef-client of winrm results in a failure \"Access denied\" during the install. This issue could apply to all other installs as well, but haven't confirmed. The only workarounds I've found are \r\n1. don't run it remote for the first run\r\n2. use psexec for the installer\r\nI have a pull requests I can submit, but its a great departure from using windows_package"},"comment":{"url":"https://api.github.com/repos/criteo-cookbooks/ms_dotnet/issues/comments/161361448","html_url":"https://github.com/criteo-cookbooks/ms_dotnet/issues/13#issuecomment-161361448","issue_url":"https://api.github.com/repos/criteo-cookbooks/ms_dotnet/issues/13","id":161361448,"user":{"login":"Annih","id":559627,"avatar_url":"https://avatars.githubusercontent.com/u/559627?v=3","gravatar_id":"","url":"https://api.github.com/users/Annih","html_url":"https://github.com/Annih","followers_url":"https://api.github.com/users/Annih/followers","following_url":"https://api.github.com/users/Annih/following{/other_user}","gists_url":"https://api.github.com/users/Annih/gists{/gist_id}","starred_url":"https://api.github.com/users/Annih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Annih/subscriptions","organizations_url":"https://api.github.com/users/Annih/orgs","repos_url":"https://api.github.com/users/Annih/repos","events_url":"https://api.github.com/users/Annih/events{/privacy}","received_events_url":"https://api.github.com/users/Annih/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T16:49:27Z","updated_at":"2015-12-02T16:49:27Z","body":"I'm sorry, but again this is not a limitation of this cookbook but of knife bootstrap or chef-provisioning.\r\nWinrm is a good remoting system on Windows I recommend it everywhere, but due to its limitation gem implementing this transport have to provide a way to synchronously run a remote command as a local one with elevated privilege.\r\nVagrant winrm transport is providing this way, winrm-elevated gem is providing this way, we just have to wait that test-kitchen knife-windows and chef-provisioning use this gem...\r\n\r\nAs a \"ms_dotnet\" cookbook maintainer it's not possible for me to handle all way people are using my recipes.\r\n\r\nHowever I [added a note](https://github.com/criteo-cookbooks/ms_dotnet#known-issues) in the README to explain a bit this issue. Is it clear enough for you?\r\n"}}