- From: Paul Morton - BIA <
>
- To: "
" <
>
- Cc: "
" <
>
- Subject: [chef] Re: Windows registry key change for another user
- Date: Fri, 4 Jan 2013 19:14:55 -0800
- Accept-language: en-US
- Acceptlanguage: en-US
My recollection is that the windows registry provider can do this. There is
code that will load the users hive (provided they have logged in before).
Take a look at hkey_users. The provider should load the hive for the relevant
user if it is not currently loaded.
On Jan 4, 2013, at 7:11 PM, "Eric Pardee"
<
>
wrote:
>
Hello
>
>
I'm using the github opscode Windows cookbook (1.3.4) with Windows
>
bootstrapping and I want to add a registry entry for another user.
>
>
My goal is to add a Putty ssh key for another user. I tried adding the key
>
to
>
HKEY_ALL_USERS and HKEY_LOCAL_MACHINE but it doesn't work, which I learned
>
is
>
on the Putty wishlist:
>
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/config-locations.html
>
>
Does Chef windows_registry resource have the ability to execute the registry
>
key change as a different user?
>
>
I'm assuming the answer is the powershell cookbook. Does anybody have any
>
suggestions?
>
>
Thanks for your time.
>
>
Eric
Archive powered by MHonArc 2.6.16.