General discussion

Locked

Command line Tools for scripting

By giriraj ·
I want to automate the following tasks using a simple script.

1) Setting Pagefile for C & D Drive(from Current settings to Specified Settings)

2) Renaming Computer Name
3) Renaming network properties like Interface "Local Area Network Connection" to a Specified Name ( for Eg: renaming it to "Backup Interface")
4) Renaming Disk Drive Lable
5) Editing a particular Registry Key

am sure there should be some Command line Tools & Windows Res kit tools to perform these tasks.
i would appreaciate anyone giving all these info.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Chris.. In reply to Command line Tools for sc ...

you can do all of this with scripts that call Reg.ini files. All you need to do is find the appropriate keys and export them, rename them to named_whatever_you_like.ini and call them.

Now doing this on more than one machine will be ugly for the Computer naming portion, but the rest is easily managed using reg.ini's

Collapse -

by jvoss In reply to Command line Tools for sc ...

You can change these items via a script. There are lots of sites available to help. Two locations at Microsoft to start with would be:
This would be for resources
http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001169
This would be for how to's:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/default.asp

Collapse -

by jvoss In reply to Command line Tools for sc ...

You can change these items via a script. There are lots of sites available to help. Two locations at Microsoft to start with would be:
This would be for resources
http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001169
This would be for how to's:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/default.asp

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums