As part of the User Management in Computer Management , you can define a Logon script,
which will be executed when you logon locally to your system. Such logon script can contain
any valid Windows XP Command line instruction.
(You may be used to see Logon scripts when making a logon to a domain )
( and yes, there are also other possibilities, like placing a BAT-file in the STARTUP folder)
Defining a Logon script for a local logon requires the definition of a network share
called "netlogon" : create anywhere on the system a folder to contain the logon scripts
(example : scripts) and then share it using the name "netlogon" :
Inside this shared folder, create a
BAT-file (typical using Notepad)
containing command-line instructions
to be executed.
example : creating a drive mapping
In User Management, define for the user(s) in the properties on the tab "Profile" the
BAT-file defined/created above as the "Logon Script" :
When now making a logon to the system, the commands defined in the logon scripts will
be executed, it will be just visible for a very short time as a command prompt window in the taskbar:
![]()
本文详细介绍了如何在Windows XP中定义本地登录脚本,通过创建并共享名为netlogon的网络文件夹来存放自定义命令行指令,从而在登录时自动执行这些脚本,实现个性化登录体验。
885

被折叠的 条评论
为什么被折叠?



