Thursday, February 21, 2008

The following is a sample INF file which:

The following is a sample INF file which:

  • Installs an IP protocol stack with Client for Microsoft Network
  • Removes the MSN and Inbox
  • Sets up for:
    • Minimum Password length of 6
    • No Dial-In Server
    • No File or Print sharing
    • User Profiles
  • Installs an LPT1.DOS port
  • Adds the line BOOTMULTI=1 to the MSDOS.SYS config file for booting to your previous DOS version
  • Installs a QMS-810 Printer and assigns it to LPT1
  • Installs a HP LaserJet III Printer and assigns it to LPT2
  • Installs a pre-selected list of applications
  • [Install]
    UpdateINIs=msn.remove, Multi.Boot, WIN.INI
    DelReg=NoInbox_Icon
    Addreg=remove.welcome,config.system
    [WIN.INI]
    win.ini,ports,,"lpt1.dos="
    [strings]
    Setup_MSN_DESC = "Set Up The Microsoft Network"
    [msn.remove]
    setup.ini,desktop,,%Setup_MSN_DESC%,MSNEXCH.EXE %Setup_MSN_DESC%
    [NoInbox_Icon]
    HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\"{00020D76-0000-0000-C000-000000000046}"
    [Multi.Boot]
    msdos.sys,Options,,"BootMulti=1"
    [remove.welcome]
    HKU,.default\software\microsoft\windows\currentversion\explorer\tips,show,1,00
    [config.system]
    HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Network,"MinPwdLen",1,6,0,0,0
    HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Network,"NoDialIn",1,1,0,0,0
    HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Network,"NoFileSharing",2,1
    HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Network,"NoPrintSharing",2,1
    HKLM,Network\Logon,"UserProfiles",2,1
    [BatchSetup]
    Version=1.0
    SaveDate=11/06/95
    [Setup]
    Express=1
    EBD=0
    ChangeDir=0
    OptionalComponents=1
    Network=1
    System=0
    CCP=0
    CleanBoot=0
    Display=0
    PenWinWarning=0
    InstallType=3
    DevicePath=1
    TimeZone="Pacific"
    VRC=0
    Uninstall=0
    InstallDir=C:\windows
    [System]
    DisplChar=4,640,480
    [NameAndOrg]
    Name=""
    Org=""
    Display=0
    [Network]
    ComputerName=""
    Workgroup=""
    Description=""
    Display=0
    Clients=VREDIR
    Protocols=MSTCP
    Services=VSERVER
    IgnoreDetectedNetCards=0
    ;Security=share
    [NWLINK]
    FrameType=4
    NetBIOS=0
    [MSTCP]
    DHCP=1
    DNS=0
    WINS=DHCP
    Hostname=e000001
    [NWREDIR]
    FirstNetDrive=F:
    ProcessLoginScript=1
    [VREDIR]
    ValidatedLogon=0
    [VServer]
    LMAnnouce=0
    [OptionalComponents]
    "Accessibility Options"=1
    "Briefcase"=0
    "Calculator"=1
    "Character Map"=0
    "Clipboard Viewer"=1
    "Desktop Wallpaper"=0
    "Document Templates"=1
    "Games"=0
    "Mouse Pointers"=1
    "Net Watcher"=0
    "Object Packager"=0
    "Online User's Guide"=1
    "Paint"=1
    "Quick View"=1
    "System Monitor"=1
    "System Resource Meter"=1
    "Windows 95 Tour"=1
    "WordPad"=1
    "Dial-Up Networking"=0
    "Direct Cable Connection"=0
    "HyperTerminal"=0
    "Phone Dialer"=0
    "Backup"=1
    "Defrag"=1
    "Disk compression tools"=0
    "CompuServe Mail Services"=0
    "Microsoft Exchange"=0
    "Microsoft Mail Services"=0
    "Microsoft Fax"=0
    "Microsoft Fax Services"=0
    "Microsoft Fax Viewer"=0
    "Central European language support"=0
    "Cyrillic language support"=0
    "Greek Language support"=0
    "Audio Compression"=1
    "CD Player"=1
    "Jungle Sound Scheme"=0
    "Media Player"=1
    "Musica Sound Scheme"=0
    "Robotz Sound Scheme"=0
    "Sample Sounds"=0
    "Sound Recorder"=0
    "Utopia Sound Scheme"=0
    "Video Compression"=1
    "Volume Control"=1
    "Blank Screen"=0
    "Curves and Colors"=1
    "Flying Through Space"=0
    "Flying Windows"=0
    "Mystify Your Mind"=0
    "Scrolling Marquee"=0
    "The Microsoft Network"=0
    [Printers]
    Your QMS Printer=QMS-PS 810,LPT1
    HP III=HP LaserJet III,LPT2

No comments: