Title: Program Manager Restrictions Settings 
Document Number: Q75337           Publ Date: 02-MAR-1995 
Product Name: Microsoft Windows Software Development Kit 
Product Version: 3.10 
Operating System: WINDOWS



 ---------------------------------------------------------------------- 
 The information in this article applies to: 

  - Microsoft Windows Software Development Kit (SDK) for Windows version 3.1 
 ---------------------------------------------------------------------- 

 SUMMARY 
 ======= 

 In Windows version 3.1, a new section will be added to the PROGMAN.INI 
 initialization file to allow system and network administrators to 
 restrict the functionality of the Program Manager to make it better 
 suited to handle shared files. 

 There are five new options available to prevent a user from modifying
 his group's configuration or from running untrusted software. These 
 options appear in the section labeled [Restrictions]. This article 
 details each of the options below. 

 MORE INFORMATION 
 ================ 

    [Restrictions] 
    NoRun=[0/1] 

       When the NoRun switch is set to 1, the Run command on the File 
       menu is disabled. The default value of this option is 0 (allow 
       File Run). 

    [Restrictions] 
    NoClose=[0/1] 

       When the NoClose option is set to 1, this option prevents the 
       user from exiting the Program Manager, through the File menu, 
       the System menu, the ALT+F4 accelerator or the Task Manager. The 
       default value of this option is 0 (allow exit). 

    [Restrictions] 
    NoSaveSettings=[0/1] 

       When the NoSaveSettings option is set to 1, this option prevents 
       the user from saving the main window position and the load order 
       of the groups. It also disables the "Save Settings on Exit" 
       command on the Options menu. The default value of this option is 
       0 (allow the user to save settings). 

    [Restrictions] 
    NoFileMenu=[0/1] 

       When the NoFileMenu option is set to 1, this option disables the 
       File menu entirely. All commands on this menu are disabled as 
       well. The default value of this option is 0 (the File menu is 
       enabled). 

    [Restrictions] 
    EditLevel=<value> 

       This EditLevel option controls the extend to which a user can 
       modify read/write groups (shared, read-only groups may never be 
       modified). The following values are recognized: 

          0 Allow any change (default) 
          1 User cannot create, delete, or rename groups 
          2 Value 1 restrictions; also, user cannot create or delete b            items 
          3 Value 2 restrictions; also, user cannot change item command 
            lines 
          4 Value 3 restrictions; also, user cannot change any item 
            property 

 Additional reference words: 3.10 
 KBCategory: kbprg 
 KBSubcategory: UsrIni


COPYRIGHT Microsoft Corporation, 1995.
Title: Dimmed or Missing Options Under Program Manager 
Document Number: Q85891           Publ Date: 30-NOV-1994 
Product Name: Microsoft Windows 3.x Retail Product 
Product Version: 3.10 3.11 
Operating System: WINDOWS
  
 ---------------------------------------------------------------------- 
 The information in this article applies to: 
  
  - Microsoft Windows operating system versions 3.1, 3.11 
 ---------------------------------------------------------------------- 
  
 SUMMARY 
 ======= 
  
 If you are running Microsoft Windows version 3.1 and the File menu is 
 missing, or an option normally available under a Program Manager menu 
 is unavailable (dimmed) or missing, then either the PROGMAN.INI file or 
 selected group files (.GRP) have been modified. 
  
 For moreinformation on modifying the PROGMAN.INI file, refer to pages 219- 
 221 in the "Microsoft Windows Resource Kit" manual for version 3.1. 
  
 The following is a list of disabled options and the procedure used to 
 disable them. These changes are normally made by the system administrator 
 of the network to have more control of the Windows environment. 
  
 MORE INFORMATION 
 ================ 
  
 Option Missing                  Procedure 
 --------------                  --------- 
  
 File menu                       PROGMAN.INI's [restrictions] 
                                 contains NOFILEMENU=1 
  
  
 Option Dimmed or Unavailable    Procedure 
 ----------------------------    --------- 
  
 Run (from the File menu)        PROGMAN.INI's [restrictions] 
                                 contains NORUN=1 
  
 Exit Windows (from the File     PROGMAN.INI's [restrictions] 
 menu)                           contains NOCLOSE=1 
  
 Close (from Program Manager's 
 Control menu) 
  
 Save Settings on Exit           PROGMAN.INI's [restrictions] 
 (from the Options menu)         contains NOSAVESETTINGS=1 
  
                                 Note: This also disables the 
                                 ability to double-click the 
                                 Program Manager's Control menu 
                                 while holding down the SHIFT key 
                                 to save settings. b  
 Move and Delete (from the      The group file (.GRP) is read 
 File menu) only                only 
 on some groups 
  
 Move and Copy (from the File    Normal operation 
 menu) when a group icon is 
 selected 
  
 New, Move, Copy, and Delete      PROGMAN.INI's [restrictions] 
 (from the File menu) when        contains EDITLEVEL=1 (or higher) 
 a group icon is selected 
  
 New, Move, Copy and Delete      PROGMAN.INI's [restrictions] 
 (from the File menu) when       contains EDITLEVEL=2 (or higher) 
 a group or program icon 
 is selected 
  
 Command Line and Browse         PROGMAN.INI's [restrictions] 
 button (from the File           contains EDITLEVEL=3 (or higher) 
 menu's Properties) 
  
 All options under Properties,    PROGMAN.INI's [restrictions] 
 and OK, Browse, and Change       contains EDITLEVEL=4 
 Change Icon buttons (from 
 the File menu) 
  
 NOTE: Even though all options mentioned above are unavailable, you can 
 still add program items by holding the SHIFT key and double-clicking a 
 blank area in a group window. Microsoft has confirmed this to be a 
 problem in Microsoft Windows version 3.1. 
  
 All options under Properties,    The group file (.GRP) is read 
 and OK, Browse, and Change       only 
 Icon buttons for only some 
 groups (from the File menu) 
  
 KBCategory: kbusage kbenv kbprb 
 KBSubcategory: win31 
 Additional reference words: 3.10 3.1 grey gray grayed greyed wrk 3.11


COPYRIGHT Microsoft Corporation, 1994.



Title: How to Limit Access to Specific Parts of the Control Panel 
Document Number: Q84709           Publ Date: 24-JAN-1995 
Product Name: Microsoft Windows 3.x Retail Product 
Product Version: 3.10 3.11 
Operating System: WINDOWS



 -------------------------------------------------------------------- 
 The information in this article applies to: 

  - Microsoft Windows operating system versions 3.1, 3.11 
 -------------------------------------------------------------------- 

 SUMMARY 
 ======= 

 Below are step-by-step instructions on entries that can be made in the 
 CONTROL.INI file to limit access to specific icons in the Control 
 Panel, such as 386 Enhanced, International, Printers, and so on. 

 MORE INFORMATION 
 ================ 

 Add a section called [Don't Load] to the CONTROL.INI file, then type
 the name of the icon that you don't want to be shown. The section 
 should look as follows; however, only add the name of the item you 
 want to limit. 

 Example of All the Icons Turned Off 
 ----------------------------------- 

 [Don't Load] 
 Printers=1 
 Color=1 
 Fonts=1 
 Ports=1 
 Mouse=1 
 Desktop=1 
 keyboard=1 
 Printers=1 
 International=1 
 Date/Time=1 
 Network=1 
 386 Enhanced=1 
 Drivers=1 
 Sound=1 

 Example of All the Icons Turned On 
 ---------------------------------- 

 [Don't Load] 
 Printers= 
 Color= 
 Fonts= 
 Ports= 
 Mouse= 
 Desktop= 
 keyboard= 
 Printers= 
 International= 
 Date/Time= 
 Network= 
 386 Enhanced= 
 Drivers= 
 Sound= 

 A "0" or "1" after the "=" sign (without quotation marks) will disable 
 that icon. 

 KBCategory: kbusage kbenv 
 KBSubcategory: win31 
 Additional reference words: 3.10 3.11 missing restrict remove hide


COPYRIGHT Microsoft Corporation, 1995.



Title: CONTROL.INI [MMCPL] Section Can Make Control Panel Disappear 
Document Number: Q87288           Publ Date: 22-NOV-1994 
Product Name: Microsoft Windows 3.x Retail Product 
Product Version: 3.10 3.11 
Operating System: WINDOWS


  
 ------------------------------------------------------------------ 
 The information in this article applies to: 
  
  - Microsoft Windows operating system versions 3.1, 3.11 
 ------------------------------------------------------------------ 
  
 SYMPTOMS 
 ======== 
  
 If the X= and/or Y= entry in the [MMCPL] section of the CONTROL.INI 
 file is negative, Control Panel may appear to not start, and you 
 receive no error messages. 
  
 CAUSE 
 ===== 
  
 The X= entry in the CONTROL.INI file is the horizontal window coordinate 
 and the Y= entry is the vertical window coordinate. When these numbers are 
 negative, the Control Panel starting location is off the edge of the 
 screen. 
  
 To correct this problem, use a text editor (for example, Notepad), to open 
 the CONTROL.INI file and change any negative numbers to positive numbers. 
  
 MORE INFORMATION 
 ================ 
  
 If X= and/or Y= entry is a low enough negative number, Control Panel may 
 appear to not start. However, if you open the Task List (press CTRL+ESC or 
 double-click the Desktop), it shows the Control Panel as a running 
 application. If Control Panel is selected and you choose the Switch To 
 button, the application you switch to is the one that was active before you 
 opened the Task List. This happens because the Control Panel is running 
 outside of the screen area. 
  
 Page 222 of the "Microsoft Windows Resource Kit" (WRK) guide for Windows 
 3.1 briefly describes the [MMCPL] section of the CONTROL.INI file as the 
 section that 
  
    Specifies values related to the multimedia items in Control Panel 
  
 However, it makes no mention of the NumApps=, X=, Y=, W=, and H= entries 
 that do not pertain to the multimedia items in Control Panel. 
  
 For more information on the [MMCPL] section of the CONTROL.INI file, query 
 on the following words in the Microsoft Knowledge Base: 
  
    [MMCPL] and Control 
  
 KBCategory: kbmm kbdocerr 
 KBSubcategory: win31 kbtool 
 Additional reference words: doc err 3.10 3.11


COPYRIGHT Microsoft Corporation, 1994.
