The information in this article applies to:
SUMMARY
Inuse.exe provides individuals and administrators with "on-the-fly" capability to replace files that are currenly in use by the operating system. Although this behavior is generally accomplished by running a program's setup program or a service pack's upgrade program, the setup and upgrade process tends to replace multiple files. However, for troubleshooting purposes, you may need to replace an individual file on your computer versus an entire set of files. The Inuse program provides this level of administrative flexibility. http://www.microsoft.com/technet/inside/6-7-99.htm#inuse DisclaimerPlease understand that this is an unsupported utility and typical safeguards should be taken when using the utility, such as ensuring that you have a copy of the DLL from the original installation source. This is "use at your own risk" and support for the utility is not available from Microsoft at this time.MORE INFORMATIONInUse is a Win32-based command-line utility that can be used by and within automated tasks, scripts, or other programs. Syntax
In Windows 2000 the version of the Inuse.exe program is 1.4. The tool works the same way but the Help window has changed slightly. Instead of source they use the term replacement.
CommentsThe destination is the currently locked file that you want to replace on the local drive. Please note that after you commit INUSE to replace a file, you cannot run it again to reverse the transaction. This may be considered in a newer version.ExamplesBasic operation of INUSE is quite simple; just tell it the file you want to replace and where it's updated replacement is located. It also has an additional parameter that allows the supression of the actual copy comfirmation. This may be useful if you intend to use INUSE as part of some automated processes. The following examples shows simulated INUSE output as well as its operation in both a local and also a network-based file replacement scenario.Example 1: Promptless Install
Example 2: Prompted Install
You will notice the only difference with the examples is the fact the user will be prompted to confirm or cancel the operation on the latter. Example 3: Batch OperationThe following example represents how an administrator can nest multiple updates in a single script:batch.cmd Additional query words: ntsetup update install setup service pack
Keywords : |
Last Reviewed: January 25, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |