Wednesday, October 13, 2010

Scripts

Scripts are useful to automate administrative tasks, which are routine. We can have startup and shutdown scripts, administrative scripts, login & logoff scripts
Implementing scripts using group policy:

On DC
Create a folder (in D or E drive)
Share it with full control
Start-run (notepad)
Type wscript.echo “use the force read the source”
Save the file as (filename.vbs) in the share folder we have created
Open ADUC
Create an OU and a user
OU properties
Group policy
GPO name (ex. Script)
Edit
User configuration
Windows settings
Scripts
Double click on logon
Add
Browse the script we’ve save in the share folder from n/w places
Ok
Verification:

Move on to member server
Log in as a userWe should notice a welcome message

No comments:

Post a Comment