MS office Trusted location Batch file

Hi EE

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
chesteraAsked:
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.

DrTribosCommented:
Run with elevated privileges?
ncomperCommented:
You can add trusted locations to the client machines via a GPO, take a look at the below Screen Grab:
trustedLocation.PNG
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:
ncomper

I am running as a batch file

HKEY_CURRENT_USER
Software\Microsoft\Office\15.0\Access\Security\Trusted Locations\Location0
C:\EPMS
REG_SZ
C\mt_Accde

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

Alan
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:
DrTribos

Run with elevated privileges?

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

Alan
ncomperCommented:
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.