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?
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?
0
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
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
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
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

chesteraAuthor Commented:
DrTribos

Run with elevated privileges?

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

Alan
0
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.
0
chesteraAuthor Commented:
Thank You
0
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.

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.