WINNT desk.cpl error

Posted on 1998-12-14
Last Modified: 2013-12-14
I have tried replacing the existing copy of my desk.cpl and CANNOT change display settings within NT workstation 4.0 w/ SP3, can anyone PLEASE help me correct this problem???????
Question by:mojojeff
  • 2

Author Comment

ID: 1772389
the error message is as follows: An error ocurred while Windows was working with the Control Panel file C:\WINNT\system\desk.cpl


Accepted Solution

theh95 earned 20 total points
ID: 1772390
Try this info.

PSS ID Number: Q166028
Article last modified on 06-03-1998

The information in this article applies to:
 - Microsoft Windows NT Workstation version 4.0
 - Microsoft Windows NT Server version 4.0
By default, Windows NT 4.0 unattended setup uses a detection method to
determine which video driver to use. If no video driver can be
initialized, the default VGA driver will be used.
The following types of video adapters are known not to be automatically
detected in Windows NT 4.0:
 - 8514a
 - Trident
 - VGA
Some third-party video drivers are located in the Drvlib\Video directory.
If your video adapter is not on the Windows NT compact disc, check with
the manufacturer for support for Windows NT 4.0. Third-party OEM video
cards that are not detected during the setup of Windows NT cannot be made
With unattended setup, the installation of OEM video drivers is
accomplished using the [DisplayDrivers], [Display], and [OEMBootFiles]
sections of the unattended answer file.
The configuration of OEM video drivers is an advanced function of Windows
NT unattended configuration. The information regarding the Txtsetup.oem
that is discussed in this article can be found in the Windows NT 4.0 Device
Driver Kit (DDK) in Chapter 2, Section 2.1. The syntax and format of the
Txtsetup.oem file is also available in the Windows NT 4.0 Deployment Guide
in Chapter 2, in the section "TXTSETUP.OEM and [OEMBootFiles]."
To prepare for the installation of an OEM video driver, perform the
following steps:
1. Copy the I386 directory from the Windows NT 4.0 compact disc to a
   server, and then share the directory.
2. In the I386 directory, create an $OEM$ directory.
3. In the $OEM$ directory, create a Textmode directory.
4. Copy the OEM video drivers to the Textmode directory created in
   Step 3(XXXXXXXX.dll, XXXXXXXX.sys).
5. Create a Txtsetup.oem file and place it in the Textmode directory. This
   file tells Windows NT Setup how to install the DLL and SYS drivers, and
   how to configure the registry.
   To simplify the creation of the Txtsetup.oem file, copy the example
   provided and save it as Txtsetup.oem.
   The following is the format for Txtsetup.oem. In most cases, this file
   requires very little modification:
      d1 = "OEM Video Disk",\OEMVideo.tag,\
      DISPLAY = S3Virge
      S3Virge = "S3 Virge - OEM"
      driver = d1,s3virge.sys,s3virge
      dll = d1,s3virge.dll
   This is a standard Txtsetup.oem file that installa the S3 Virge
   video driver that is supplied in the Drvlib directory on the Windows
   NT 4.0 compact disc.
6. Add OEMPreInstall = YES to the [Unattended] section of the answer file.
   This is used to tell Setup that the $OEM$ directory is going to be used
   during setup. For example:
      OemPreInstall = Yes
7. Ensure that the NtUpgrade value in the Unattend section of Unattend.txt
   is not set to Yes.
     NtUpgrade = yes
   If NtUpgrade is set to Yes, the installation appears to run normally,
   but the OEM drivers will not be installed. If you need NtUpgrade set to
   Yes,    you can perform the following steps to automate the procedure:
   A. Use the RunOnce key as described in the following Microsoft Knowledge
      Base article:
         ARTICLE-ID: Q167012
         TITLE     : Setting Control Panel Tools to Start After Unattended
    B. Place the command "Rundll32 Shell32.dll,Control_RunDLL Desk.cpl
      @0,3" (case sensitive) in the Run-once key to bring up the desktop
      tool and have it open to the Settings tab.
   C. You can then create a script that installs the OEM drivers.
8. Add the [DisplayDrivers] section to the answer file.
      "S3 Virge - OEM" = "OEM"
      BitsPerPel = 16
      XResolution = 800
      YResolution = 600
      VRefresh = 60
      AutoConfirm = 1
9. Add the [OEMBootFIles] section to the answer file.
   The example provided is only part of the answer file needed for a
   complete Windows NT 4.0 unattended installation.
The following is an example for the Matrox Millennium drivers supplied by
Matrox from its download service. Steps 1-8 above are the same, the
difference being the name of the driver files, option name, and the
registry options.
   d1 = "OEM Video Disk",\oemvideo.tag,\
   MGA64 = "my mga64 driver - oem"
   driver = d1,mga64.sys,mga64
   dll = d1,mga64.dll
The following is an example of the required information needed in the
unattended answer file:
   OemPreInstall = Yes
   "my mga64 driver - oem" = OEM
   BitsPerPel = 16
   XResolution = 800
   YResolution = 600
   VRefresh = 60
   AutoConfirm = 1
NOTE: This method of installing video drivers will only install the video
driver itself. Additional utilities or applications provided by the
manufacturer will have to be installed through other methods. Contact the
video driver vendor for information on automation options for their
The products listed here are manufactured by vendors independent of
Microsoft; we make no warranty, implied or otherwise, regarding these
products' performance or reliability.
For the latest information on Windows NT deployment, download the Windows
NT 4.0 Deployment Guide from the following location:
For additional information, please see the following article in the
Microsoft Knowledge Base:
   ARTICLE-ID: Q155197
   TITLE     : Unattended Setup Parameters for Unattend.txt File
Keywords          : ntdriver ntreskit ntsetup NTSrvWkst kbsetup
Version           : WinNT:4.0
Platform          : winnt
Issue type        : kbhowto
Copyright Microsoft Corporation 1998.



Author Comment

ID: 1772391
my computer is a panasonic cf-25 MKIII laptop (HUNK of JUNK)

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sleep laptop 20 56
Scheduled Tasks Tweak 5 28
Thoughts on PC Doctor 11 45
Do hyper-v and VMware clash 4 55
The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

775 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question