chestera
asked on
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\Acces s\Security \Trusted Locations\WORKDB
Name = C:\CIAgentSolutions\
Value = C:\CIAgentSolutions\workdb
I am sure I have used this before and it worked
I have this batch file but doesn't seem to work.
Batch file content:
Additional Registry Keys:
Root = Current User
Key = Software\Microsoft\Office\
Name = C:\CIAgentSolutions\
Value = C:\CIAgentSolutions\workdb
I am sure I have used this before and it worked
Run with elevated privileges?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ncomper
I am running as a batch file
HKEY_CURRENT_USER
Software\Microsoft\Office\ 15.0\Acces s\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
I am running as a batch file
HKEY_CURRENT_USER
Software\Microsoft\Office\
C:\EPMS
REG_SZ
C\mt_Accde
I am doing something wrong because it's not working. Your help appreciated
Alan
ASKER
DrTribos
Run with elevated privileges?
You have got me there, haven't come across the term
Alan
Run with elevated privileges?
You have got me there, haven't come across the term
Alan
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.
ASKER
Thank You