# Description
The resource allows you to configure the notification level or granularly
configure the User Account Control for the computer.
The parameter `NotificationLevel` and any of the other granular parameters
are mutual exclusive and will throw an argument exception error.
For the granular properties available in this resource, read more about
the possible values in the article [User Account Control Group Policy and registry key settings](https://docs.microsoft.com/en-us/windows/security/identity-protection/user-account-control/user-account-control-group-policy-and-registry-key-settings).
The values of the parameter `NotificationLevel` reflects the
levels available through the User Account Control Settings user interface;
AlwaysNotify, NotifyChanges, NotifyChangesWithoutDimming, and NeverNotify.
The other available values have been added to easier configure different
scenarios, but they can also be configured using the granular properties
of the resource. Available values for the parameter `NotificationLevel` is:
- **AlwaysNotify**: You will be notified before programs make changes to your
computer or to Windows settings that require the permissions of an administrator.
When you're notified, your desktop will be dimmed, and you must either approve
or deny the request in the UAC dialog box before you can do anything else on
your computer. The dimming of your desktop is referred to as the secure desktop
because other programs can't run while it's dimmed. This is the most secure
setting. When you are notified, you should carefully read the contents of each
dialog box before allowing changes to be made to your computer.
This sets the values:
- `ConsentPromptBehaviorAdmin`: 2
- `EnableLUA`: 1
- `PromptOnSecureDesktop`: 1
- **AlwaysNotifyAndAskForCredentials**: This is the same as the notification level
"AlwaysNotify" with the exception that when you're notified, your desktop will
be dimmed, and you must enter valid credentials to approve the request in the
UAC dialog box.
This sets the values:
- `ConsentPromptBehaviorAdmin`: 1
- `EnableLUA`: 1
- `PromptOnSecureDesktop`: 1
- **NotifyChanges**: You will be notified before programs make changes to your
computer that require the permissions of an administrator. You will not be notified
if you try to make changes to Windows settings that require the permissions of
an administrator. You will be notified if a program outside of Windows tries
to make changes to a Windows setting. It's usually safe to allow changes to be
made to Windows settings without you being notified. However, certain programs
that come with Windows can have commands or data passed to them, and malicious
software can take advantage of this by using these programs to install files
or change settings on your computer. You should always be careful about which
programs you allow to run on your computer.
This sets the values:
- `ConsentPromptBehaviorAdmin`: 5
- `EnableLUA`: 1
- `PromptOnSecureDesktop`: 1
- **NotifyChangesWithoutDimming**: You will be notified before programs make
changes to your computer that require the permissions of an administrator.
You will not be notified if you try to make changes to Windows settings that
require the permissions of an administrator. You will be notified if a program
outside of Windows tries to make changes to a Windows setting. This setting is
the same as "NotifyChanges" but you are not notified on the secure desktop.
Because the UAC dialog box isn't on the secure desktop with this setting, other
programs might be able to interfere with the dialog's visual appearance. This
is a small security risk if you already have a malicious program running on
your computer.
This sets the values:
- `ConsentPromptBehaviorAdmin`: 5
- `EnableLUA`: 1
- `PromptOnSecureDesktop`: 0
- **NeverNotify**: You will not be notified before any changes are made to your
computer. If you are logged on as an administrator, programs can make changes
to your computer without you knowing about it. If you are logged on as a
standard user, any changes that require the permissions of an administrator will
automatically be denied. If you select this setting, you will need to restart
the computer to complete the process of turning off UAC. Once UAC is off, people
that log on as administrator will always have the permissions of an administrator.
This is the least secure setting. When you set UAC to never notify, you open
up your computer to potential security risks. If you set UAC to never notify,
you should be careful about which programs you run, because they will have the
same access to the computer as you do. This includes reading and making changes
to protected system areas, your personal data, saved files, and anything else
stored on the computer. Programs will also be able to communicate and transfer
information to and from anything your computer connects with, including the
Internet.
This sets the values:
- `ConsentPromptBehaviorAdmin`: 0
- `EnableLUA`: 1
- `PromptOnSecureDesktop`: 0
- **NeverNotifyAndDisableAll**: This is the same as the notification level
"NeverNotify", but in addition EnableLUA registry key is disabled.
EnableLUA controls the behavior of all UAC policy settings for the computer.
If you change this policy setting, you must restart your computer. We
do not recommend using this setting, but it can be selected for systems
that use programs that are not certified for Windows 8, Windows Server 2012,
Windows 7 or Windows Server 2008 R2 because they do not support UAC.
This sets the values:
- `ConsentPromptBehaviorAdmin`: 0
- `EnableLUA`: 0
- `PromptOnSecureDesktop`: 0
没有合适的资源?快使用搜索试试~ 我知道了~
用于配置Windows计算机的DSC资源。这些DSC资源允许.zip
共218个文件
ps1:113个
psd1:25个
md:25个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 58 浏览量
2023-04-09
13:28:04
上传
评论
收藏 294KB ZIP 举报
温馨提示
用于配置Windows计算机的DSC资源。这些DSC资源允许.zip
资源推荐
资源详情
资源评论
收起资源包目录
用于配置Windows计算机的DSC资源。这些DSC资源允许.zip (218个子文件)
SetTimeZone.cs 12KB
.gitattributes 348B
.gitignore 87B
tasks.json 4KB
settings.json 1KB
.markdownlint.json 162B
LICENSE 1KB
CHANGELOG.md 30KB
README.md 6KB
README.md 5KB
PULL_REQUEST_TEMPLATE.md 2KB
README.md 2KB
README.md 1KB
SECURITY.md 1KB
Home.md 1KB
README.md 1KB
README.md 995B
README.md 476B
README.md 432B
README.md 411B
CONTRIBUTING.md 320B
General.md 251B
README.md 235B
README.md 229B
README.md 171B
CONTRIBUTING.md 134B
README.md 129B
CODE_OF_CONDUCT.md 126B
README.md 122B
README.md 121B
README.md 109B
README.md 75B
DSC_SmbServerConfiguration.schema.mfl 5KB
DSC_SmbShare.schema.mfl 2KB
DSC_PowerPlan.schema.mfl 376B
DSC_ScheduledTask.schema.mof 8KB
DSC_SmbServerConfiguration.schema.mof 5KB
DSC_SmbShare.schema.mof 3KB
DSC_UserAccountControl.schema.mof 2KB
DSC_PendingReboot.schema.mof 2KB
DSC_WindowsEventLog.schema.mof 2KB
DSC_Computer.schema.mof 1KB
DSC_WindowsCapability.schema.mof 1KB
DSC_VirtualMemory.schema.mof 875B
DSC_RemoteDesktopAdmin.schema.mof 779B
DSC_PowerShellExecutionPolicy.schema.mof 697B
DSC_IEEnhancedSecurityConfiguration.schema.mof 644B
DSC_PowerPlan.schema.mof 434B
DSC_OfflineDomainJoin.schema.mof 385B
DSC_SystemLocale.schema.mof 342B
DSC_TimeZone.schema.mof 326B
DSC_ScheduledTask.Tests.ps1 113KB
DSC_Computer.Tests.ps1 65KB
DSC_SmbShare.Tests.ps1 62KB
PSResourceRepository.Tests.ps1 60KB
DSC_VirtualMemory.Tests.ps1 47KB
DSC_PendingReboot.Tests.ps1 29KB
DSC_WindowsEventLog.Tests.ps1 26KB
DSC_UserAccountControl.Tests.ps1 25KB
DSC_ScheduledTask.config.ps1 24KB
DSC_SmbShare.Integration.Tests.ps1 22KB
ComputerManagementDsc.Common.Tests.ps1 22KB
DSC_IEEnhancedSecurityConfiguration.Tests.ps1 21KB
DSC_ScheduledTask.Integration.Tests.ps1 18KB
DSC_WindowsEventLog.Integration.Tests.ps1 17KB
DSC_WindowsCapability.Tests.ps1 17KB
DSC_SmbServerConfiguration.Tests.ps1 17KB
build.ps1 15KB
PSResourceRepository.integration.tests.ps1 15KB
DSC_SmbServerConfiguration.Tests.ps1 13KB
Resolve-Dependency.ps1 11KB
DSC_PowerPlan.Tests.ps1 10KB
DSC_RemoteDesktopAdmin.Tests.ps1 10KB
020.PSResourceRepository.ps1 10KB
DSC_SmbShare.config.ps1 9KB
DSC_RemoteDesktopAdmin.Integration.Tests.ps1 8KB
DSC_PendingReboot.Tests.ps1 7KB
DSC_OfflineDomainJoin.Tests.ps1 7KB
DSC_PowerShellExecutionpolicy.Tests.ps1 6KB
DSC_WindowsCapability.Integration.Tests.ps1 6KB
DSC_SystemLocale.Tests.ps1 5KB
DSC_UserAccountControl.Integration.Tests.ps1 5KB
DSC_WindowsEventLog.config.ps1 5KB
DSC_VirtualMemory.Integration.Tests.ps1 5KB
DSC_IEEnhancedSecurityConfiguration.Integration.Tests.ps1 4KB
DSC_TimeZone.Tests.ps1 4KB
ComputerManagementDsc.Common.Tests.ps1 4KB
PSResourceRepository.config.ps1 3KB
DSC_SystemLocale.Integration.Tests.ps1 3KB
DSC_SmbServerConfiguration.config.ps1 3KB
1-SmbServerConfiguration_AllProperties_Config.ps1 3KB
CMReason.Tests.ps1 3KB
DSC_TimeZone.Integration.Tests.ps1 3KB
DSC_PowerShellExecutionPolicy.Integration.Tests.ps1 2KB
10-WindowsEventLog_RegisterEventSourceWithAllFiles_Config.ps1 2KB
1-ScheduledTask_CreateScheduledTaskOnce_Config.ps1 2KB
2-ScheduledTask_CreateScheduledTaskDaily_Config.ps1 2KB
13-ScheduledTask_CreateScheduledTasksOnEvent_Config.ps1 2KB
4-ScheduledTask_CreateScheduledTasksWeekly_Config.ps1 2KB
16-ScheduledTask_CreateScheduledTasksAsBuiltInServiceAccount_Config.ps1 2KB
共 218 条
- 1
- 2
- 3
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 筷手引流工具.apk
- 论文(最终)_20240430235101.pdf
- 基于python编写的Keras深度学习框架开发,利用卷积神经网络CNN,快速识别图片并进行分类
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功