MS office Trusted location Batch file


I have this batch file but doesn't seem to work.

Batch file content:

Additional Registry Keys:
Root = Current User
Key = Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\WORKDB
Name = C:\CIAgentSolutions\
Value = C:\CIAgentSolutions\workdb

I am sure I have used this before and it worked
Who is Participating?

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

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.

Run with elevated privileges?
You can add trusted locations to the client machines via a GPO, take a look at the below Screen Grab:
We have this is a Live Environment

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
chesteraAuthor Commented:

I am running as a batch file

Software\Microsoft\Office\15.0\Access\Security\Trusted Locations\Location0

I am doing something wrong because it's not working. Your help appreciated

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!

chesteraAuthor Commented:

Run with elevated privileges?

You have got me there, haven't come across the term

To allow a bat file to run as elevated you will need to kick this off as a startup script linked to the computer account (Computer OU). If you need this adding on a per user i would suggest the GPO setting above, by using GPO setting you are completing the task from the server side and not the user credentials. We had issues trying to elevate a script earlier this week on a per user basis.
chesteraAuthor Commented:
Thank You
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
Microsoft Office

From novice to tech pro — start learning today.