Best way to save login script changes Server 2008

Login scripts are currently saved if SYSVOL folder, currently I open notepad with elevated permissions and browse to the script and edit; I need to make changes to about 20 scripts, is there a better method?
cookd47Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Amit KumarCommented:
Run notepad as administrator then open script file from that notepad then modify and save it.
0
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
Copy the scripts to local drive, modify them, open a command prompt with privileged credentials and then copy them to the location in sysvol share.
0
cookd47Author Commented:
I was trying to avoid both of above methods
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
Files need to be edited, how else do you think it could be done?  

What is the change you are making (ie are you adding, editing or deleting same thing on all files and if so then it could be done differently).
0
cookd47Author Commented:
Adding same net use command to each
0
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
I believe what you could do is the following:

Logon to the DC via RDP
Open Command Prompt as Administrator
Navigate to the folder where the scripts are
Run dir /b
Copy the output of the script fillenames
Open excel and paste it column B1
in column A1 type in Echo followed by your net use >> 
(Ie echo net use x: \\server1\share1 >>)
Copy A1 to all the rows where there is a value for B1
Copy the data and paste it to your command prompt and you are done


I could also write you a loop that goes through all the scripts but this should do it
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.