config-win10 package

Antworten
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

config-win10 package

Beitrag von SisterOfMercy »

Looking at this package: config-win10_4.1.0-5.opsi

Code: Alles auswählen

if $sync_settings$ = "false"
	Registry_hklm_disable_settings_sync /sysnative
	Registry_hkcu_disable_settings_sync /AllNTUserDats /sysnative
	if ($INST_SystemType$ = "64 Bit System")
	  Registry_hklm_disable_settings_sync 
	  Registry_hkcu_disable_settings_sync /AllNTUserDats
	endif
else
	Registry_hklm_enable_settings_sync /sysnative
	Registry_hkcu_enable_settings_sync /AllNTUserDats /sysnative
	if ($INST_SystemType$ = "64 Bit System")
	  Registry_hklm_enable_settings_sync 
	  Registry_hkcu_enable_settings_sync /AllNTUserDats
	endif
endif

;https://www.tenforums.com/tutorials/4077-sync-settings-turn-off-windows-10-a.html
[Registry_hklm_disable_settings_sync]
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync]
set "SyncPolicy"=reg_dword:1

[Registry_hkcu_disable_settings_sync]
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync]
set "SyncPolicy"=reg_dword:1
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Personalization]
set "Enabled"=reg_dword:0
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\BrowserSettings]
set "Enabled"=reg_dword:0
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Credentials]
set "Enabled"=reg_dword:0
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Language]
set "Enabled"=reg_dword:0
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Accessibility]
set "Enabled"=reg_dword:0
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Windows]
set "Enabled"=reg_dword:0

[Registry_hklm_enable_settings_sync]
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync]
set "SyncPolicy"=reg_dword:0

[Registry_hkcu_enable_settings_sync]
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync]
set "SyncPolicy"=reg_dword:0
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Personalization]
set "Enabled"=reg_dword:1
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\BrowserSettings]
set "Enabled"=reg_dword:1
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Credentials]
set "Enabled"=reg_dword:1
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Language]
set "Enabled"=reg_dword:1
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Accessibility]
set "Enabled"=reg_dword:1
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Windows]
set "Enabled"=reg_dword:1
Shouldn't the hkcu entries start with HKEY_CURRENT_USER?

Why the weird "if ($INST_SystemType$ = "64 Bit System")" part? Shouldn't /SysNative just work?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1517
Registriert: 10 Jun 2015, 12:19

Re: config-win10 package

Beitrag von m.radtke »

Hi

first of all oyu are right.
we worked on an issue where some options didn't adapt on all users and the machine didn't show the expected behaviour.

I will check on your issue and this will be fixed soon if needed

Cheers
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Antworten