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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.
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.
cookd47Author Commented:
I was trying to avoid both of above methods
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

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).
cookd47Author Commented:
Adding same net use command to each
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

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.