May 20, 201115 yr I've been working on a Windows 7 image for the past few days, getting it up to par with our needs and requirements. After I did all the work, I just remembered I needed to set a local group policy. Is there a way I can do this without having to re-sysprep and re-image the entire system again? Maybe through DISM or unattend.xml? Thanks!
May 20, 201115 yr What policy needs te be set.What I know is for example the policy setting for: Prevent installation of Removable devicesGPEdit.msc then go to in Local Computer Policy ->Computer Configuration ->Administrative Templates->System -> Device Installation -> Device Installation Restrictions ->Enable/Disable the "Prevent installation of Removable devices".is the same asHKEY_LOCAL_MACHINE » Software » Policies » Microsoft » Windows » DeviceInstall » RestrictionsThe keyname will be DenyRemovableDevices value = 1So I think u should mount the image.Load the registry components from %mount_dir%\windows\system32\config in the registry and add your settings.
May 20, 201115 yr Author The policy I need to change:Computer Configuration > Administrative Templates > System > Device Installatioin > Allow remote access to the Plug and Play interface: Enabled.
May 22, 201115 yr HKEY_LOCAL_MACHINE » Software » Policies » Microsoft » Windows » DeviceInstall » Settings AllowRemoteRPC REG DWORD 1 or 0
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now