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

news/2024/7/4 9:20:50
导读:
   日在翻阅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

http://www.niftyadmin.cn/n/3650718.html

相关文章

java SWT嵌入IE,SafeArray

java SWT嵌入IE,SafeArray/* * Reading and writing to a SAFEARRAY * * This example reads from a PostData object in a BeforeNavigate2 event and * creates a PostData object in a call to Navigate. * * For a list of all SWT example snippets see * http://dev.ec…

Torsten Rienow

导读: [gina.bas] #COMPILE DLL #INCLUDE "win32api.inc" I redeclare SID here again due a problem with win32ipa.inc. Whatever i try, the compiler does not compile with any "var as SID PTR" reporting "undefined type" T…

过程改进在于数据和结果

来自波音(Boeing)公司的John Vu两个主题演讲(软件过程改进的现状、如何在软件外包市场胜出),切中要害,不仅对国内软件业现状分析透彻,而且提出了很好的对策。给我印象最深的是两句话:I never ask the suppl…

2007年美国高增长科技企业十强

在评选“美国高增长科技企业十强”的过程中,《商业周刊》综合考虑了股票表现、销售额和利润增长、以及股票回报等多方面的因素。截至2007年11月15日,谷歌过去一年的表现远远超过主要竞争对手雅虎,网络广告业务高速发展;AT&T业…

简单代理服务器C代码实现(SOLARIS)

导读: ** 返回值 : 侦听套接字,为0时表示生成套接字失败,其他为套接字句柄 ** 备注 : 无 */ int GetListenSocket(int Port) { struct sockaddr_in m_LisAddr {0}; int m_Socket 0; int m_AddrLen sizeof(struct sockaddr_in); //配置端口信息 m_LisAddr.sin_fam…

追本溯源 - 勿忘质量之本

有时,几个人在讨论一个话题时,由于其中一个人猛然想起另外一件事,或者又有一个人加入进来,讨论越来越激烈,大家兴致丝毫未减,但讨论的内容离主题越来越远,到后来都忘记刚开始要讨论的是什么话题…

Google 联合一些社交网站来对抗 facebook

谷歌(Google) 将与其它一些行业领先的社交网站联手,共同对抗互联网新贵Facebook。  谷歌将于周四推出一个通用标准集 ( OpenSocial ),允许软件开发者为谷歌旗下社交网站Orkut,以及LinkedIn、hi5、Friendster、Plaxo和Ning等其它社交网站开…

如何更好地理解《全程软件测试》

您可能阅读了《全程软件测试》的前言、目录和序一,对本书有了基本理解。为了您更好理解本书,将序二的部分内容摘录下来,供大家阅读 :序二 节选软件质量管理在软件研发团队中的作用是显而易见的。其中软件测试人员在保障和改进软件质量工作中…