group-policy

Chrome WebExtension - Private Store and Enterprise Environment

两盒软妹~` 提交于 2019-12-18 07:25:06
问题 I'm trying to publish a Chrome Extension in a Private Store and to propagate it with a Group Policy. In order to do that I'm using the following references: CRX Packaging GPO Propagation I'm 100% sure that the GPO is configured correctly (if I use the same GPO to propagate an extension published on the Chrome WebStore it works). Unfortunately, both my private extension (line in the Configure the list of force-installed apps and extension section: [my_extension_id];[my_xml_url] ) and the

Edit windows Group Policy from Command line (CMD)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-14 02:53:23
问题 I want to add some group policy and I need to added by batch file How can I edit windows Group Policy from windows command line? 回答1: Try importregpol.exe http://blogs.technet.com/b/fdcc/archive/2008/05/07/lgpo-utilities.aspx It will import whatever is in the pol file you specify. To make a pol file I blank the policy by remove machine and user then set the desired settings with the LGPO editor MMC and grab the pol files that are created. 来源: https://stackoverflow.com/questions/25341093/edit

Update the Local Computer Policy in Windows 7 with IGroupPolicyObject

六眼飞鱼酱① 提交于 2019-12-13 16:35:56
问题 I just want to be able to programmatically do what gpedit.msc does. I'm trying to set the value of these keys to 1 and Update the Local Group Registry. In gpedit.msc: Local Computer Policy/Computer Configuration/Administrative Templates/System/Removable Storage Access ValueName: All Removable Storage classes: Deny all access Value: 1 (set this to 1) Local Computer Policy/Computer Configuration/Administrative Templates/Windows Components/AutoPlay Policies ValueName : Turn off Autoplay Value: 1

Let my Application be controlled by GPOs

我们两清 提交于 2019-12-13 13:26:20
问题 I am developing a windows application. I want my application to be configurable via own-defined GPOs, that the system administrator can manage my application behaviour for each group and user individually. I've done some research, but I just could not find a proper solution. If I create some custom policies, how do they get on the server? I think the policies should consist of "changing registry entries". After that, my application uses these entries on the local machine to configure itselft.

Modify audit policy (group policy)

与世无争的帅哥 提交于 2019-12-12 01:38:01
问题 I'd like to change object audit policy with vb.net. Like enabling Object Access auditing. Is that possible? If not, is powershell an option? I know I can get gpedit running on any version of Windows, but I want to be able to change the setting programmatically. Also, I do know some settings can be changed by Registry, but I haven't seen one for audit policy. http://www.lshift.net/blog/2013/03/25/programmatically-updating-local-policy-in-windows/ I found this, but will give it a try in a

Is there any way to programmatically add a startup script to the local group policy?

隐身守侯 提交于 2019-12-10 17:24:57
问题 I need to write a script that can add itself to the startup scripts in the local group policy so that it can run even when no users are logged in. This can be done using gpedit.msc and going into Computer Configuration > Windows Settings > Scripts > Startup. However, I haven't found a way to do this programmatically. I've looked into simply editing the registry. I found the relevant location to be HKLM\Software\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Startup , but

Offline google chrome extensions

限于喜欢 提交于 2019-12-08 17:54:51
问题 Background : I manage an offline network of workstations. I have written a chrome extension that needs to be in the browser for our webapp to function I have published it through the chrome store (but not made it public) Question : How do I install this extension without the internet What I've tried: Windows GPO: Requires the update URL to be http://clients2.google.com/service/update2/crx Windows Registry: same URL problem Unpacked extensions: prompts users, requires developer tools, and

How to get/set/update registry value through group policy cmdlet of Windows PowerShell?

♀尐吖头ヾ 提交于 2019-12-07 18:43:42
问题 I have configured the EventForwarding Manually but I was wondeing If I could do it programmatically and I came across the Group Policy Cmdlets which seems to be the solution. Here is what I am trying to configure manually in the image below. When I run the Get-GPO -all cmdlet I don't see any GPOs related to Event Forwarding. However when I ran the Get-GPResultantSetOfPolicy with the specified path of an XML file, I got to see my configuration of the Subscription manager of the Event

How could you edit a specific group policy using a batch file

本小妞迷上赌 提交于 2019-12-07 09:08:13
问题 Im working on over 700 computers in a school district and have written a small program that i intend to write to a cd. The program is set to autorun when the disk is inserted and prompt the screen resolution of the computer and what computer the building is in (the different school buildings). Afterwards the program will run a batch file that copies a default desktop from the disk and into the windows\web\wallpaper directory. It also replaces other files that have been customized for the

How to programatically get the Enforce Password History group policy setting?

喜你入骨 提交于 2019-12-04 15:29:22
How can i programatically get the Enforce Password History group policy setting? Research Effort You can find the Group Policy option under: **Computer Configuration\Windows Settings\Security Settings\Account Policies\Password Policy** Enforce password history This security setting determines the number of unique new passwords that have to be associated with a user account before an old password can be reused. The value must be between 0 and 24 passwords. This policy enables administrators to enhance security by ensuring that old passwords are not reused continually. Like all group policy