Wednesday, August 12, 2015

Copy files on all computers using group policy

Group policy is very handy when you want to do some repetitive boring tasks on multiple machines, it saves time, and it is always error free. Example of files can be copied through GPO on computer is Dll file or can be portable EXE files for users (ie putty.exe).

One of my subordinates got an activity to copy putty.exe on all the windows servers arount 1200. Isn't it boring. So I proposed him automated solution and this how I achieved the task in couple of minutes. I copied Putty.exe to share folder and Read permissions given to Authenticated user under sharing and security. My shared network path name is \\AD002\files.
 Above screenshot is for sharing and below is for security, Autheticated users has Read permissions.
Copy putty.exe on share path.
Open group policy management tool on domain controller or your PC if you have installed administrative tools.go to Group Policy objects, right click and new GPO. Give it some name (Copy_Putty)

Right click and Edit Copy_Putty policy.
Now go to Computer Configuration>> Preferences>>Windows Settings>>Files>> New>>File.
Source is the my shared file location here I have copied my Putty.exe and from here it will be copied to destination c:\windows on all servers.
This is how policy looks, Close it
Its  time to attach policy to OU where my computers reside. Go to that OU right click and link an Existing GPO.
 Select Group Policy Copy_Putty from list.

Its all done now you have wait either for next 90 mins or run GPupdate /force on computers you will see Putty.exe file present under C:\windows folder.

Now user can use find program putty for ssh into linux.
Read my another Post
How to - Adding AD Group to local computer Group using Group Policy

28 comments:

SHAMI said...

GOOD SITE.

Kristen Brown said...

Now day, absolutely everyone is searching out a new but well settled and a fulfillment flow for his or her career. after I got here to this blog, I definitely inspired through all of the facts factors noted right right here. thank you for this assist. Domestic Freight Software

Kristen Brown said...

actually recognize all of the stuff made by way of the use of this weblog to let human beings recognize about writing and its merits. I introduced little more relevant points to my know-how which genuinely going to help me in coming destiny. International Freight Software

Gurvinder sir said...

Hello sir how are u ??
Sir your information is very good and thank u so much for this information. And I’m a teacher. I sharing computer education and I have a website ..i share LearnRSCIT and CCC Online Tyari also Computer MCQ
Thank u sir.
Nice to meet you.

Smith said...

I Find it very informative about marketing.Thanks for sharing such great information. hope you keep sharing such kind of information Data copy tool

michaelwaung said...


This blog is so informative. Thanks for providing this information. I read this blog.
I hope please keep sharing this type of blog in future.

Batch printing software

Ryder Jack said...

Good article, thanks for sharing with us. This article is really helpful.

Advance Data Copy Tool.

IShine Trade said...

Spot on with this article, I really think this website needs more attention. I'll probably be back to read more, thanks for the info.
Power Bank Wholesale

Mac pro said...

Nice article admin thanks for share your atricle keep share your knowledge i am waiting for your new post check hi vis jacket girls knee high socks kindly review and reply me

Susmita Sen said...

I definitely inspired through all of the facts factors noted right right here. thank you for this assist.

CCC Previous Question Paper

sumit said...

good article sir, thank u so much sir.

we provide free mock test paper for all competitive exam.

PoL said...

Download the best PowerPoint templates for sale to create modern presentations. Thousands of PPT templates easy to edit with high-quality slides, created by top designers around the world.

Susmita Sen said...

very good i like it


good article sir, thank u so much sir.

RSCIT New Syllabus Online Test in Hindi
RSCIT New iLearn Questions and Answers in Hindi

kissasian said...

Watch anime online in English. We Can Watch and Download High Quality Anime Episodes for free no register Needed.This website has a mobile-friendly interface. kissanime

Watch Online Movies Online Bollywood Movies Latest Hollywood Movies Online Hindi Movies Dubbed Movies Tamil Movies Download Latest new Movie

Vijay bhan Sir said...

Hii sir i am vijay This is Too Good question answer Sir

Monika Thakur said...
This comment has been removed by the author.
Monika Thakur said...

Good article sir, thank u so much sir.





Swachata par Nibandh

Vijay bhan Sir said...

Click Here DOWNLOAD Best Whatsapp status video

Vijay bhan Sir said...

Good information nice

Shubham said...

Grete Information About Smoker

kissasian said...

kissanime
chia anime
soul anime
anime Gogo
Gogo anime

cionsystems said...

Thanks for sharing Active Directory Group Policy Management tips. for more info i rfer cion systems Active Directory Group Policy Management in USA.

Alfred Avina said...

The main motive of the Google Cloud Big Data Services is to spread the knowledge so that they can give more big data engineers to the world.

vIkThor said...

Hey, can you update your pictures? thanks.

EssayToNibandh said...

good article sir, thank u so much sir.

anushasan ka mahatva par nibandh

Rizvan Khan said...

Thanks for a very informative article. I was very impressed with your blog. Your writing style is very good. Just like you, this is my blog where I have written about Best Offset Vertical Smokers Reviews 2020

Renee Reviews said...

Hey very nice blog!! Man .. Beautiful .. Amazing .. I will bookmark your web site and take the feeds also…I’m happy to find a lot of useful information here in the post, we need work out more strategies in this regard, thanks for sharing. . . . . .

best air purifier for smoke under $100

Shayari image said...

Nice community keep away happy-wedding-anniversary-wishes