Documente Academic
Documente Profesional
Documente Cultură
List
Data Validation
Those that have used Data Validation will know that it is a very handy feature,
especially the List option. The List option allows us to have a cell show a drop-down
arrow, which the user can then select from.
Draw-Back
However, when we do the above we must either scroll to the needed item in the
Validation list, or type the whole word. What would be really nice is if Excel would
AutoComplete based on our list! Unfortunately no such standard feature exists in
Excel.
The Solution
1. Go to Tools>Options - Edit and check
Enable AutoComplete for cell values
2. Move your list of items is in the range
immediately above the Validation cell.
3. Hide the rows above your Validation
cell.
Now, as you type Excel will look at the list above the Validation cell and
AutoComplete based on it.
Contents
Registry Is the Key
How It Works
Setup for Windows XP Embedded
Extra Notes
Conclusion
How It Works
When the user logs on, Windows uses Key1 to determine which key holds the shell information.
Normally, Windows uses
Key2 next. However, if the value of Key1 is changed to USR:Software\Microsoft\Windows
NT\CurrentVersion\Winlogon,
Windows will use Key3 for the user logging on to start the user's specific shell.
Changing the registry key values in a system with a registry already set up is fairly straightforward. The
challenge is how to
do this in Windows XP Embedded, where the registry is set up during the First Boot Agent (FBA)
process.
HKLM keys can be set up in Target Designer because they are computer specific. Setting up the HKCU
keys, however, is
impossible in Target Designer because the accounts will not be created until after FBA runs. The user
account and
administrator account components create only the accounts, user names, and passwords. These
components cannot be
used to set up a specific shell. The only solution is to set up the specific shells after the Windows XP
Embedded image has
completed the FBA process.
User Shell. The last component is the user or system application, which will be the second shell. Your
second shell
component should not be set up as a shell component or be grouped with the other shell components.
Rather, the
second shell component should be treated like any other application component, such as Windows
Accessories or
Transmission Control Protocol/Internet Protocol (TCP/IP) utilities. After the FBA is completed, you can
log on to the
user account and set up Key3 to point to the application. If the application component is missing, the
default
administrator shell component will appear.
Other components. Windows Script Engine and Registry Editor can be included to help with creating
Key3. You can
create a custom application to perform this task.
Setting Up Key1
You must set up Key1. In the Extra Registry Data, found at the top of the configuration, add Key1 as
described earlier, with
the value set for USR:Software\Microsoft\Windows NT\CurrentVersion\Winlogon. To see the Extra
Registry Data
resource, you may have to enable resources by clicking View, pointing at Resources, and then clicking
Target Designer.
After the configuration has been set up, built, and downloaded to the target, and after the FBA process
is completed, the
last step is to set up the user account for the system shell. Because you initially set up the image to start
in the administrator
shell, you should be able to access the registry.
Setting Up Key3
To set up the user account with the unique shell, you must log on to the user account and add Key3 to
set the path to the
system application. Note that you cannot log on to the administrator account to change the user
account's shell. After you
log on to the user account, you can use Regedit.exe, Windows Script, or another application to create
Key3 and set the path
to the application.
The following is an example of WScript.
The following is an example of CScript.
After you set Key3, you can log off and log on again to the user account and/or the administrator
account. The user
account's specific shell will be started when you log on to the user account. The default/administrator
shell will be started
when you log on to the administrator account.
Extra Notes
By default, Windows Script engine is set up for WScript. WScript uses dialog boxes for input and output
messages. CScript
'Windows Script to set a user shell
set shell = CreateObject("WScript.shell")
shellpath = InputBox ("Enter the path and name of the EXE application
to be this user's shell. Example: c:\windows\system32\cmd.exe:")
if shellpath <> "" then Shell.RegWrite
"HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell", shellpath,
"REG_SZ"
'Windows Script to set a user shell
set shell = CreateObject("WScript.shell")
wscript.stdout.WriteLine "Change the Shell for this user."
wscript.stdout.WriteLine
ChangeReg
sub ChangeReg
wscript.stdout.WriteLine "Enter the path and name of the EXE application to be this
user's shell.
wscript.stdout.WriteLine "Example: c:\windows\system32\cmd.exe or type QUIT to
exit: "
if wscript.stdin.AtEndOfStream then exit sub
shellpath = wscript.stdin.ReadLine
if ucase(shellpath) = "QUIT" then exit sub
Conclusion
Windows XP Embedded provides a flexible way to deploy the popular Windows XP operating system
into a number of
embedded devices. The ability to have two accounts with different shells allows OEMs to build systems
that prevent users
from accidentally accessing administrative functions. The solution is to define the administrative shell as
the default shell in
the system and change the user account's registry keys to point to a second shell.
Microsoft Corporation. All rights reserved.
2014 Microsoft. All rights reserved.
DELL ALIENWARE 17
(CPU)
i7-4710MQ
Intel
Intel Core i7
4710MQ
2,50 GHz
LED LCD
17,3 "
1920x1080
Full HD
(RAM)
16 GB
DDR3
Nvidia
8192 MB
Shared
SSD
80 GB
HDD
1000 GB
Optical Drive
DVD
CD, DVD
Card Reader
9-in-1
Windows 8 ?
4,15 kgr
: ,
Qosmio LCD,
: 256 GB
: 1 TB
: 5,400 rpm
Blu-ray Disc
: 43,9 cm (17,3'')
: FHD TFT Toshiba TruBrite,
LED 16 : 9
: 1.920 x 1080
+ (.) : 8 ms
: :
: 1.920 x 1.080
1
1 RJ-45
1 ()
1 Sleep-and-Music
1 ( SD 2 GB,
4 (1 )
: Wi-Fi
: 802.11b/g/n
: Intel
: LAN
: Intel Centrino Wireless-N 2230
: Intel
: Bluetooth 4.0 + LE
: 4.0 + LE
: Intel
: Intel Wireless Display Miracast ready
: 24-bit
: 4 Harman Kardon 6 W
DTS Studio Sound
: Conexant (CX20751-11Z)
: 87
Windows :
: Frameless black tile backlit keyboard and 10-digit numeric key
: Clickpad multi-touch,
, .
:
: 3,5 (Mobile Mark 2012)
AC
: AC (100/240 V)
: 19 V
: 9.5
AC
'
Kensington
Intel SpeedStep
SM BIOS
ENERGY STAR
CE.
Toshiba Europe GmbH, Hammfelddam 8, 41460 Neuss, .