To answer your specific questions regarding the configuration in the screenshots:
- Value Name: Yes, you must write a specific name in the Nome do valor field. The exact name required by the Windows system is
Enabled(please note the 'd' at the end).- Do not use "Enable".
- Do not check the "Predefinição" (Default) box. Checking that box targets the default key value, which the Windows Script Host does not check for restrictions.
Yellow triangle = Update Red circle = Replace/Delete
To ensure the policy works, your final configuration in the Propriedades window should look exactly like this:
Ação: Atualizar
Ramo de registo: HKEY_CURRENT_USER
Caminho da chave: SOFTWARE\Microsoft\Windows Script Host\Settings
Nome do valor: Enabled
Tipo do valor: REG_DWORD
Dados do valor: 0
Once you save this with the name Enabled and run gpupdate /force on the client machine, the restriction will take effect.
I hope you've found something useful here. If it helps you get more insight into the issue, it's appreciated to accept the answer. Should you have more questions, feel free to leave a message.
VP