Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
August 25, 2005
I have scripted AddUserPassword2.bat to add User Accounts 2 to the Windows XP Professional Control Panel as the control userpasswords2 command.
The syntax for using AddUserPassword2.bat is:
AddUserPassword2.AddUserPassword2.bat contains:
@echo onREG ADD HKCRCLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D} /Ve /T REG_SZ /F /D "User Accounts 2"REG ADD HKCRCLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D} /V InfoTip /T REG_SZ /F /D "Control UserPasswords2"REG ADD HKCRCLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}DefaultIcon /Ve /T REG_SZ /F /D "%SystemRoot%System32usrmgr.cpl,1"REG ADD HKCRCLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}ShellOpencommand /Ve /T REG_SZ /F /D "Control Userpasswords2"REG ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionExplorerControlPanelNameSpace\{98641F47-8C25-4936-BEE4-C2CE1298969D} /Ve /T REG_SZ /F /D "UserPassword2 to Control Panel"
You May Also Like