tailieunhanh - Scripts

Scripts Scripts represent powerful and handy administrative facilities that allow automating most routine tasks. | Scripts Scripts represent powerful and handy administrative facilities that allow automating most routine tasks. As a matter of fact most system administrators use logon and logoff scripts which represent batch BAT or executable EXE files that run any time the user logs on or off from any of the networked workstations. Such scripts may contain operating system commands for example the ones that restore network connections or run applications specify environment variables such as PATH or TEMP and many more. Starting with Windows 2000 several enhancements have been added to this area. To remain compatible with earlier Windows NT versions Windows 2000 Windows XP and Windows Server 2003 continue to keep the logon script that was used in Microsoft Windows NT . As you remember already in Windows NT logon scripts were assigned to individual user accounts. In Windows 2000 Windows XP and Windows Server 2003 you assign logon scripts to individual users by typing the path to the logon script file in the Logon script field of the Profile tab in the UserName Properties dialog see Fig. . Note For local users in Workgroup environment use Computer Management MMC snapin for this purpose. When your computer joins to an Active Directory domain the same task is performed on domain controllers using Active Directory Users and Computers MMC snap-in. When a user logs on with an account to which a logon script has been assigned . a path to the logon script for the user account appears in the Logon script field the server locates and runs the script. Note that the entry in the Logon script box only specifies the file name and optionally the relative path of the logon script. The actual logon script is located on the server. Windows 2000 XP and Windows Server 2003 in addition provide a set of policy-driven scripts including user logon user logoff computer startup and computer shutdown scripts which you can manage using the Group Policy snap-in Fig. . In contrast to .

TÀI LIỆU MỚI ĐĂNG
5    173    1    27-12-2024