pcunite
pcunite

Reputation: 1197

Programmatically set Registry Software Policy key for all Users

I need to set the following registry key for all standard user accounts. However, standard users don't have access to this location. How can I set this key programmatically, as an administer and have it available to all users when they login?

I've tried Registry Active Setup via calling reg add. However, this did not work because Active Setup runs with user permissions (I guess) which cannot set that key!

Registry key:

HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\14.0\Common\Security\Trusted Protocols\All Applications\Custom:

Upvotes: 0

Views: 658

Answers (1)

Ionut Holbia
Ionut Holbia

Reputation: 404

This key

HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\14.0\Common\Security\Trusted Protocols\All Applications\Custom:

Is Actually

HKEY_USERS\ Security ID (SID)\SOFTWARE\Policies\Microsoft\Office\14.0\Common\Security\Trusted Protocols\All Applications\Custom:

You could query all users in HKEY_USERS and set this key for every one. The problem here would be that this key will not be set for new users.

Upvotes: 1

Related Questions