Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum  |  Directory

Keywords: Match:
Introduction to MinLogon
by David Reed (Jul. 2, 2003)

Foreword: In this technical article originally published by the Microsoft Developer Network (MSDN), David Reed shows how MinLogon can assist in optimizing the performance of Windows XP Embedded runtimes. Additionally, Reed explains explains security concerns that must be addressed to help attain a more reliable Windows XP Embedded platform.



Introduction to MinLogon

by David Reed
Microsoft Corporation


Overview

Minimal Logon (MinLogon) is a hybrid version of the Windows Logon component (WinLogon) that ships with both Windows XP Embedded and Windows XP Professional. WinLogon is a utility that provides logon and authentication support for users to the local system and/or network domain. It consists of an executable file, a dynamic-link library (DLL), and associated services. WinLogon is not available for Windows 95, Windows 98 or Windows Millennium Edition (Windows Me).

MinLogon is particular to Windows XP Embedded as it is geared toward the needs of embedded developers, and so is not available or supported on Windows XP Professional systems. Using MinLogon in a Windows XP Embedded runtime allows you to reduce boot time, shutdown time, and footprint. However, there are some points to keep in mind when using these techniques.

Introduction

The MinLogon baseline configuration uses a simpler logon process than WinLogon that always logs on the user as the system user. You can use this configuration if your application will not require the user to log on to the system by using a local machine or domain account. The MinLogon configuration is typically smaller than WinLogon because it has fewer component dependencies. However, the MinLogon configuration includes full Microsoft® Win32® support, meaning that applications can link to kernel32, gdi32, user32, and advapi32 libraries.

Product

The MinLogon Helper Macro component that ships with Microsoft Windows XP Embedded with Service Pack 1 will generate a footprint around 15 megabytes (MB). This component can serve as a foundation on which to build your Windows XP Embedded runtime images. You can find the MinLogon Helper macro under the Test & Development category in the component database.

In general, MinLogon is a good choice for devices that are stand-alone and require a basic Transmission Control Protocol/Internet Protocol (TCP/IP) implementation, such as stand-alone Internet or Informational Kiosks. TCP/IP functionality -- which is required for Internet access -- In addition, TCP/IP is easy to implement in a MinLogon configuration, and there is less hassle with regards to user-specific account login if a stand-alone system is unexpectedly restarted.

Performance

MinLogon can reduce boot time and shutdown time by as much as 10 to 15 seconds on average.

MinLogon can also reduce footprint in configurations where user-level authentication is not required. WinLogon requires at least one user account to be present on the local system, and therefore brings in the required component dependencies needed for local authentication of that user.

However, MinLogon does not reduce footprint in all cases. MinLogon cannot reduce the footprint size of your runtime image if you specify the Explorer Shell component as your default system shell. The Explorer Shell has a direct dependency on the WinLogon component; including WinLogon in your configuration will include all the required subsystem components needed to support user level authentication. If you wish to use a user interface familiar to most users and do not have a requirement for an extremely small footprint -- or you and do not have the time or ability to create a custom shell -- then the Explorer shell will fit your needs. Otherwise, creating a custom shell will help reduce your image size substantially.

If you choose the Explorer Shell and then replace WinLogon with MinLogon, this results in the footprint savings of only a few megabytes -- sharply reducing the benefit of using MinLogon in the first place. It is often the dependencies of the rich Explorer Shell and WinLogon that create larger run-time images. As a result, developers who desire to reduce footprint further and do not require the additional functionality provided by the Explorer Shell should consider using a custom shell application for their design when using MinLogon.

Security

It is important to understand that MinLogon will never prompt a user for login credentials such as a user name or password. In addition, MinLogon does not include support for an Administrator account and has no concept of user accounts or privileges to the local machine's file system or resources. MinLogon also does not have a concept of global users or accounts and cannot be joined to a domain. Embedded designs that require domain participation support should use WinLogon.

With MinLogon, users have unlimited power over the system, much like the Administrator account has in typical Windows XP Professional installations. Users will be able to delete or modify the files, settings, and services of the system as they want. However, this does not mean that MinLogon completely lacks security mechanisms; rather, it means that security features that were inherited and enabled by default under a WinLogon configuration must be incorporated into a MinLogon design if security is desired. Developers using MinLogon in their embedded designs must be conscious of this fact, and proactively take measures to block access to exposed areas of the operating system.

Conversely, a locked down MinLogon system could be considered more secure than a locked-down WinLogon system because there is no "back door" such as an Administrator or Guest account to hack into. But beware that once all the doors are locked, there is no back door for even the creator of the runtime image to enter.

Conclusions

Using MinLogon can aid you in optimizing the performance of Windows XP Embedded runtimes. However, there are security concerns that users must address to help attain a more reliable Windows XP Embedded platform.


For more information about the MinLogon component, see Minlogon Sample Macro.



Copyright © 2003 Microsoft Corporation. All rights reserved. Reproduced by WindowsForDevices.com under license.


(Click here for further information)


Windows XP for Embedded Applications
This white paper describes the benefits of using Windows XP when developing embedded applications.

A Manager's Guide to Selecting a Mobile Device Operating System
This white paper offers a comparative review of Microsoft Windows CE and Windows Mobile.

Visual Basic 6.0 to .NET Migration
This paper focuses on the methodology and techniques which Infosys (Microsoft Technology Center) has developed for migrating VB 6.0 Applications to .NET. Our approach ensures a smooth, cost effective, and efficient migration.

Mobile Device Security: Securing the Handheld, Securing the Enterprise
This whitepaper identifies security threats to corporate data on mobile devices and details how mobile devices can become a "backdoor" to the enterprise.

Mobile Device Security: The Eight Areas of Risk
It's common knowledge that adding mobile devices to your network increases security risks. There are multiple facets to mobile security, all of which should be paid close attention to. This E-Guide presents a more in depth look into the eight key areas of securing wireless devices.

Quality Assurance and .NET
This paper discusses best practices for functional, regression and load testing of .NET applications.

SCADA Security in Integrated Networks
As businesses leverage their SCADA systems by integrating them into the business networks, they must also assure the security of the SCADA system.

The Advantages of Small Form Factor HMI
HMIs have mutated and changed with new requirements, and they have become more flexible and capable. And while they've been doing that, they've become smaller and more useful.

9 Critical Requirements for Web Application Security
Learn why your Web applications expose dangerous security breaches and what’s required to effectively protect your Web applications and the sensitive information behind them.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)


Updated! The latest Windows-powered...

mobile phones!

other cool
gadgets

HOT TOPICS
Microsoft targets PNDs with new embedded OS
Microsoft tips .NET MF 3.0 highlights
Microsoft previews Windows Embedded Standard
Microsoft offers free Windows CE 6.0 textbook
Microsoft renames embedded operating systems
Microsoft unveils Windows Mobile 6.1
New Atom models target low-cost PCs
REFERENCE GUIDES
Windows Device Showcase
Intro to Windows Embedded
Intro to Shared Source
Real-time Windows Embedded
Windows Embedded books
Join our Windows Embedded discussion forums:
Windows XP Embedded
Windows CE
Windows Mobile


Windows Embedded developer newsgroups
Windows CE
XP Embedded
PocketPC
Smartphone

Microsoft's Windows Embedded resources
Embedded dev center
Mobile dev center
Windows CE tutorials
XP Embedded tutorials
Windows Embedded seminars
Windows Embedded application categories
3rd-party partners


BREAKING NEWS

• Superscalar ARM SoC runs Windows CE
• CE-based nav stack heads for CES
• Windows phone has dual displays
• Cortex-A8 SoC targets netbooks
• Palm "Nova" Linux set for CES debut?
• Editors' retrospective -- Windows-powered Devices in 2008
• Firefox mobile browser alphas released
• Box PC doubles as car computer
• Windows phone has dual active radios
• Windows PMP has dual-core CPU
• COM Express module sports Atom
• "Half-rack" network appliance runs Windows
• Cross-platform NAS runs Windows
• ARM to dominate MIDs?
• Toshiba launches first 512GB SSD


MOST POPULAR (last 90 days)
• "Netbook" uses Intel's Atom N270
• Windows CE takes on Linux in low-end netbooks
• HTC ups Touch resolution
• Microsoft unleashes new embedded OS
• Windows Mobile phone gets 800 x 480 display
• HTC spins WiMAX phone?
• Smart camera sports Atom
• Dual-core AMD netbook gets rave review
• Windows Mobile 7 "delayed"
• GPS phone uses new Marvell "Tavor" chip
MOST POPULAR (Classics from the vault)
Windows XP Embedded USB boot
Troubleshooting Windows XPe's blue screen "Stop 0x0000007B" error
Asus reveals $190 mini notebook
Windows Mobile 6 SDKs available for download
Windows Mobile VPN client plays with Cisco
HTC adds GPS to Windows Mobile Touch line
Microsoft unveils Windows Mobile 6.1
Guide to HTC's Windows Mobile smartphone platforms
• HTC releases Touch Diamond ROM upgrade
Customizing Windows XP Embedded thin clients

Also visit our sister sites:


Sign up for WindowsForDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  Directory  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Windows is a trademark or registered trademark of Microsoft Corporation in the United States and/or other countries and is used by WindowsForDevices under license from owner. All other marks are the property of their respective owners. WindowsForDevices is an independent publication not affiliated with Microsoft Corporation.