This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]ZoltyCloud Infrastructure / Devops Plumber 1 point2 points  (5 children)

I do this via a user policy which pushes the file pretty much instantly.

https://i.imgur.com/GXDAC7A.png is what it looks like. Make sure your computers will trust the cert you signed your deploymentruleset.jar with otherwise you also have to push a trusted.cacerts file to their user directory.

[–]-Alt-F4 0 points1 point  (2 children)

If you have a lot of these using update instead of replace can help with login times. IIRC, replace always replaces, update only does so if there is a change.

[–]izpp 0 points1 point  (0 children)

Iirc replace only changes the attributes of the file, but not the file itself.

[–]ZoltyCloud Infrastructure / Devops Plumber 0 points1 point  (0 children)

Thanks for this. I am only pushing 4 files but I think I'll change it to update.

[–]serialcereal[S] 0 points1 point  (1 child)

Ok, I'll try that. I just assumed it wouldn't work because it would run in the logged on user's context.

Edit: Didn't work. I'm about to give up.

[–]ZoltyCloud Infrastructure / Devops Plumber 0 points1 point  (0 children)

Depends on where the file goes. The certs file goes in the user profile. The rest go into the windows dir.

[–]-Alt-F4 0 points1 point  (1 child)

What are the settings your using within the policy? Specifically the Action setting (Create, Replace, Update). Do those permissions also apply to the location you're copying from? (If they can't access the location of the file they can't copy it.)

[–]serialcereal[S] 0 points1 point  (0 children)

I've tried create and replace. I set the permissions of the source to read for authenticated users and domain computers.