Creating a file (with all URLs) on users laptops using group policy

Hi there,
Running server 2008 R2 domain.  With Windows 8 clients.  Want to create a word file with all the company URLs and their purpose so that users can simply click onto the URL to reach there.
How and where can I do this in group policy, easy steps will be helpful.
Thanks
LVL 5
amanzoorNetwork infrastructure AdminAsked:
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.

Will SzymkowskiSenior Solution ArchitectCommented:
The best method for this would be to deploy Internet explorer favoriates/bookmarks using Group Policy. See the HowTo below.
Deploy Favorites using Group Policy Preferences

Will.
Benjamin VoglarIT ProCommented:
Why not simply create shortcuts on their desktops? Use GPO Preferences:

https://technet.microsoft.com/en-us/library/cc753580.aspx

But if you will copy the word file, you can do this wits logon scrip and use this command:

xcopy "%THISDIR%document.doc" "%PROFILESFOLDER%\all users\desktop"
amanzoorNetwork infrastructure AdminAuthor Commented:
Thanks Will,
I need to explain the purpose of the URL, right in front of it so creating a word document will be a better idea.  By creating simple bookmarks my users will still be lost.  Need help

Benjamin,
I am assuming one shortcut for one URL, correct? I have around 14 URLs to offer them with explaining on each.
The script will create a word file, I need to write in it first and then deploy to each desktop.  Need help
SolarWinds® Network Configuration Manager (NCM)

SolarWinds® Network Configuration Manager brings structure and peace of mind to configuration management. Bulk config deployment, automatic backups, change detection, vulnerability assessments, and config change templates reduce the time needed for repetitive tasks.

Benjamin VoglarIT ProCommented:
Yes. You have to create a word file first and then copy the file via gpo logon script.

With prferences you have to create 14 seperet shortcuts.
amanzoorNetwork infrastructure AdminAuthor Commented:
Benjamin,
I will try it tomorrow in office and let you know.  Thanks
amanzoorNetwork infrastructure AdminAuthor Commented:
Benjamin,
So I put my word file on my DC under C drive.  Make this script as '.bat' file
1)Tried by putting this line into the sysvol\scripts folder and respective script
xcopy "%systemdrive%\URLs.docx" "%USERPROFILE%\Desktop" ..............no luck

2)under GPO used the same script with logon on script, no luck.

File is there on my DC under C.  Not sure how can I make this file appear on all users desktop.
Need help
Benjamin VoglarIT ProCommented:
The file must be on a share like:

xcopy "\\servername\copyfrom\work.doc" "%userprofile%\desktop"
Benjamin VoglarIT ProCommented:
My mistake. Try so:

@echo off
if exist "%userprofile%\desktop\Teamviewer.exe" goto end
xcopy \\Server1\sysvol\bart.scripts\ %userprofile%\desktop
:end

I have beter solution. If you have 2008R2 then you have GPO preference. Do it so:

prefe.png
amanzoorNetwork infrastructure AdminAuthor Commented:
Ben,
It is not working
Under preferences I am using:

source     \\vs1\URLLinks$\URLLinks.docx    .......this works fine

destination     %userprofile%\Desktop\URLLinks.docx ............works fine for that particular logged in user
for me %desktopdir% fetched some weared path.  
Not sure what and where the change is required.  Need help
Benjamin VoglarIT ProCommented:
O, i am sorry i mistype.

Source: \\share\word.doc
Destination: %USERPROFILE%\Desktop\Word.doc

gpupdate /force

I just tested it and it works
Benjamin VoglarIT ProCommented:
You can then configure a target who will receive the policy.
For example a security group or specific user.


pref33.JPG
amanzoorNetwork infrastructure AdminAuthor Commented:
Hi Ben,
There is something missing.  It does not work.  Do I need to create a folder on each users desktop first?
I am using:
source     \\vs1\URLLinks$\URLLinks.docx    .......this works fine

 destination     %userprofile%\Desktop\URLLinks.docx ............works fine for that particular logged in user

Need help plz
Benjamin VoglarIT ProCommented:
No, you do not need to create a folder first.

This is my setting

create.JPG

This setting copy file from share (users must have read permitions) to users OU. Link GP to OU where your users are!

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
amanzoorNetwork infrastructure AdminAuthor Commented:
Ben,
I can only create a folder like this:
Action: create
path: %CommonDesktopDir%\Hello


I Cannot create a simple file with:
Action: Create   <<<<.........I tried update etc
source: \\vs1\URLLink\test.txt   <<<<<....I tried with the IP as well no luck
dest: %CommonDesktopDir%\test.txt

The client computer can easily access the source path and open the file, not sure what is going on.  
Creating a folder is no problem but cannot create a file.  Need help
amanzoorNetwork infrastructure AdminAuthor Commented:
Ben,
I was able to create  file
 Action: Create  
 source: \\vs1\URLLink\test.txt
 dest: %CommonDesktopDir%\test.txt
Under Common, Select Run in logged in security context....................wallah
Thanks for your timely support.
Regards
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
Active Directory

From novice to tech pro — start learning today.