关于MSGINA以及禁用登陆对话框中登陆到域的选项- -

导读:
   日在翻阅MSGINA的信息的时候,无意中看到了关于如何定制MSGINA的一些文章,其中有一篇 The Essentials of Replacing the Microsoft Graphical Identification and Authentication Dynamic Link Library其中提到
   Disabling Domain Option of Logon Dialog Box
  It is possible to disable the domain option on the dialog box brought up by WlxLoggedOutSas. To do this, set the registry value NoDomainUIof type [Reg_Dword] to a value of 1. This would have users enter their user names in the form?for example, username@domain.
  活活,这就是很多AD管理员曾经提到过的一个问题,那就是如何屏蔽登陆对话框中的那个登陆到域的选项,如此作就可以了:
  REG ADD "HKLM/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Winlogon" /V NoDomainUI /T REG_DWORD /D 1 /F
  噢,这个reg 在windows xp and windows 2k3下是可以直接执行的,大家完全可以将它做成计算机启动脚本来批量部署,这下大家满意了吧
  
  
  其实这篇文章中还提到很多其他有意思的东西,比如常见的
   Loading the GINA
  Winlogon loads the GINA DLL by first calling GetProfileStringto retrieve the name of the GINA DLL, which is located in HKLM//Software//Microsoft//WindowsNT//CurrentVersion//Winlogon//GinaDLL
  比如
  The actual path of the Winlogon key is:
   /HKEY_LOCAL_MACHINE/Software/Microsoft/Windows NT/CurrentVersion/Winlogon.
  The [REG_SZ]value type makes it convenient to query the key values using the GetProfileString and GetProfileInt functions.
  Key value name Contents
   LegalNoticeCaption The string to display as the caption of the Legal Noticedialog box
   LegalNoticeText The string to display as the message of the Legal Noticedialog box
  比如
  Value Contents
   AutoAdminLogon 1
   AutoLogonCount The number of times to do an automatic logon
   DefaultUserName The name of the user account
   DefaultDomainName The name of the domain that the user account is in
   DefaultPassword The password of the user account, in clear text
  还有一些API,Programmer和ITPro们稍微动一下手就可以很容易的打造自己的登陆界面
  
  
  上面的那篇文章,哪位感兴趣的可以翻译一下,投到winmag ,没准编辑们就用了呢,呵呵!

本文转自
http://gnaw0725.blogdriver.com/gnaw0725/1239196.html
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值