- From: Eric Pardee <
>
- To:
- Subject: [chef] Re: Re: Windows registry key change for another user
- Date: Sat, 5 Jan 2013 16:09:42 -0800
Thanks Paul, but my install is a bootstrap and the user I'm attempting
to add the registry entry for has not logged in.
On Fri, Jan 4, 2013 at 7:14 PM, Paul Morton - BIA
<
>
wrote:
>
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
--
ERIC PARDEE
EMERGING TECHNOLOGIES ENGINEER
P: 323.878.0080 ext. 208
E:
Corporate office:
170 S. FLOWER STREET
BURBANK, CA 91502
Mailing address:
P.O. BOX 4110
BURBANK, CA 91503-4110
VISIT OUR WEBSITE:
www.atlasdigital.tv
Archive powered by MHonArc 2.6.16.