Windows 7 / Networking

Configuring Settings with Scripts

It's also possible to configure many of the settings using scripts. You can configure the scripts to run for an individual user within a domain by modifying the properties of the user account.

As an example, imagine that someone within your company created a PowerShell script that can configure system settings for a Windows 7 computer. You are now asked to ensure it always runs when a user logs on. You could create a share on a server, place the script within the share, and then configure the user account.

For example, the Profile tab of a user Properties screen. The Logon Script text box will accept the UNC path of a script. The script is stored in the Scripts share on the FS1 server (\\FS1\Scripts) and is named Logon.ps1.

If you want the script to run for many users, you can use Group Policy. Group Policy allows you to run scripts when a computer starts up or shuts down and when a user logs on or logs off.

[Previous] [Contents] [Next]