Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


December 03, 2002

Unlocking Locked-out Accounts; NTBackup Can Alter Network Configurations


RSS
Subscribe to Windows IT Pro | See More Active Directory (AD) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

If you lock out accounts after a certain number of logon failures, you expect the account to remain locked out until the time period you define in your security policy expires. A bug in how the Microsoft Management Console (MMC) Active Directory Users and Computers snap-in implements account changes causes the snap-in to clear the locked-out flag when you change the Password never expires or the Store password using reversible encryption account attributes. If you modify either of these fields, save the changes, and restart the snap-in, you'll see that the account is unlocked, even though you didn't clear this field. On October 3, Microsoft released a new version of dsprop.dll as a bug fix for this problem. You can obtain the update only from Microsoft Product Support Services (PSS); quote the Microsoft article "Locked User Account Is Unlocked If You Change Account Options".

NTBackup Restores Alter Network Configuration
If you use the NTBackup utility (ntbackup.exe) to restore the system state on a Windows 2000 machine, take note: The restore procedure has a bug that causes NTBackup to restore only part of the Plug and Play (PnP) database. Restoring the system state on a machine that has one or more network adapters can alter system network components: Network adapters might be missing or have the wrong name in Device Manager, or the system might have Layer Two Tunneling Protocol (L2TP) ports that weren't present at the time of the backup. In many cases, you might be unable to restore the system to its previous configuration (i.e., you might not be able to remove the incorrect or misnamed adapters in Device Manager, and you might not be able to configure the existing adapters). You'll encounter this nasty bug every time you try to restore the system state from a backup until you implement the workaround or install the bug fix.

If you manage only a few systems, you can work around these network problems by modifying the registry on the Win2K system that performs the restorations. Start a registry editor and locate the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\KeysNotToRestore registry subkey. Double-click the PlugandPlay value entry in the right pane to open the Multi-String Editor screen. The value entry should contain two strings: CurrentControlSet\Enum and CurrentControlSet\Control\CriticalDeviceDatabase. Delete the first string, CurrentControlSet\Enum, and reboot. After you make this change, run all the backups that are part of your standard production environment. You should then be able to successfully restore the system state; however, you'll encounter the network adapter restore problem every time you restore a system from a backup you created before making this change.

If you use NTBackup as your primary backup and recovery tool on many systems, call Microsoft Product Support Services (PSS) and ask for the NTBackup bug fix. For more information about this problem and fix, see the Microsoft article "Network Adapters Are Missing or Incorrect in Device Manager After You Run NTBackup to Restore System State Data".

The System File Checker and WFP
Windows File Protection (WFP) provides a built-in mechanism that, in most cases, prevents a hotfix, service pack, or application from replacing key system files with earlier versions of those files. WFP uses the system file catalog to verify that protected system files are valid. When you download and install a hotfix or service pack, the hotfix usually includes a catalog update, and a service pack always includes a catalog update that describes all the files in the service pack. Each file has a catalog entry that contains the current version number and a file signature (i.e., a checksum of the file's contents). Although unusual, catalogs occasionally contain incorrect version numbers or file signatures, which can cause problems immediately after an update or installation, during the next system restart, or when you run an OS utility or application. WFP protects all system files stored in the %systemroot%\system32\dllcache directory. When an upgrade or application attempts to replace a file that appears in the \dllcache directory, WFP permits the replacement only if the new file has the correct version number and signature.

The System File Checker utility (sfc.exe) is a WFP-based command-line tool you can use to verify and correct file version problems. This tool accepts the following command-line arguments:

  • /scannow—scans all protected system files immediately
  • /scanonce—scans all protected system files at the next boot
  • /scanboot—scans all protected system files at every boot
  • /cancel—disables any pending scans
  • /quiet—replaces all incorrect versions of files without user intervention
  • /enable—enables WFP for typical operation
  • /purgecache—purges the file cache and scans all protected files immediately
  • /cachesize=x—sets the size of the protected files cache in megabytes

Microsoft's documentation states that you can use System File Checker with the /scannow argument to verify that the correct version of system files are loaded. When you run this command, you see a WFP screen that monitors the progress of the protected-files scan. If the utility can't locate the correct version in the OS directory tree, it prompts you for a source location from which to copy the correct version. The documentation also states that the /purgecache argument flushes all cached files from memory and reloads the correct version.

Microsoft omits one important fact from the System File Checker documentation: The tool uses only the original installation catalog to validate and replace system files. I ran this utility on my Windows 2000 Service Pack 3 (SP3) system, and it prompted me five times at the beginning of the scan to provide the CD-ROM containing the original version of my OS. Because I couldn't tell which catalog System File Checker was using as a source, I simply canceled the request for each protected file. System File Checker might work on a system built with an integrated installation, but the tool isn't service pack–aware, which severely limits its value. If you use System File Checker to correct system file problems, you must reapply the current service pack after you restore protected files. Correcting a system file version problem from a backup or by reinstalling the most recent service pack is probably easier and faster than using System File Checker. You can read more about this tool in the Microsoft article "Description of the Windows System File Checker Tool".

When Add/Remove Programs Doesn't Respond
Have you ever clicked Add/Remove Programs, only to see a window appear for a second, then disappear? When you see this behavior, the most likely cause is an out-of-date system file. To confirm that Add/Remove Programs is functioning, start Task Manager and click the Processes tab. If you see mshta.exe in the process list, the Add/Remove Programs utility is broken. Microsoft recommends that you run System File Checker twice—first with the /purgecache argument, then with the /scannow argument—to correct this problem; I recommend that you ignore Microsoft's advice and attempt to correct the problem by reapplying the most recent service pack. If you follow Microsoft's suggestion, you'll replace a bunch of service pack files with their original versions, and all hell will break loose.

End of Article



Reader Comments
When Add/Remove Programs Doesn't Respond:

I had this problem and on the advice of MS Premier Support I re-installed IE, this fixed the problem and apparently was a known issue.

Ian Inglis December 03, 2002


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

IE 8.0 and Chrome Could Enable Next-Gen Web Apps—Unless Your ISP's Bandwidth Cap Gets in the Way

Both browsers are being positioned as the core system application that will enable the next generation of web apps--however, ISP usage caps could throw a major monkey wrench at web-based application delivery. ...

WinInfo Short Takes: Week of September 8, 2008

An often irreverent look at some of the week's other news, including the long-awaited back to school season, Microsoft's first Seinfeld/Gates ad, some EU insights, another Netbook improvement, Opera silliness, and much, much more ...


Related Articles Tools for Troubleshooting Locked-Out Accounts

Active Directory (AD) Whitepapers Sustainable Compliance: How to reconnect compliance, security and business goals

User Provisioning and Access Control

Managing Unix/Linux with Microsoft System Center Operations Manager 2007 Cross Platform Extensions Beta

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

IT Connections
Dive into the new Microsoft platforms and products you implement and support with the experts from Microsoft, TechNet Magazine, Windows ITPro and industry gurus. There are 70+ sessions and interactive panels with networking opportunities.

Attention User Group Leaders...
Announcing the eNews Generator—a FREE HTML e-newsletter builder for user group leaders. Build your HTML and text e-newsletters in minutes and add Windows IT Pro & SQL Server Mag articles alongside your own message!.

Master SharePoint with 3 eLearning Seminars
Learn how to build a better SharePoint infrastructure and enable powerful collaboration with MVPs Dan Holme and Michael Noel. Register today!

Get SQL Server 2008 at WinConnections
Don’t miss Microsoft Exchange and Windows Connections conferences, the premier events for Microsoft IT Professionals in Las Vegas, November 10-13. Every attendee will receive a copy of SQL Server 2008 Standard Edition with one CAL.



Interested in Email Encryption?
Read about the advantages of identity-based encryption in this free report.

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

Virtualization Congress Oct. 14-16 in London
Don't miss Virtualization Congress, the premiere EMEA conference dedicated to hardware, OS and application virtualization. Oct. 14-16.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technical Resources Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing