<

Deploy a default User Account Picture for Vista & WIndows 7 across the network via GPO

Published on
15,893 Points
12,193 Views
2 Endorsements
Last Modified:
Hi All

Just a quick one for everybody.

I was recently looking into setting the default User Account Picture for all my vista clients within the network but on closer inspection the group policy setting only allows you to set the default picture as the local default. As there is no way to specify a single central network location for the picture you could use the following instead.

So in order to enforce a default company picture do the following;

1. Load up the group policy management console.

2. Either create a new group policy object or edit an existing one that is in the same OU as the vista computers.

3. Navigate to: Computer Configuration>Policies>Administrative Templates>Control Panel>User Accounts>Apply the default user logon picture to all users. And set to enabled and keep the GPMC opened.

4. Edit the attached script and change the CompanyPictureLocation = "\\UNC\Path\Of\Picture" to the network location of the picture and of course save as *.vbs be sure that the new picture is a bitmap and is named User.bmp

5. Navigate to: Computer Configuration>Policies>Windows Settings>Scripts>Startup>Add>(Copy the folder path from the open file dialog & then open it up in windows explorer and finally copy the attached script there.)

Reboot and the new picture will be copied to all vista clients in the OU the gpo is contained within.

Regards
Steve
Dim FSO
Const OverWriteExisting = True
Set FSO = Createobject("Scripting.FileSystemObject")
LocalLocation = "C:\ProgramData\Microsoft\User Account Pictures\"
CompanyPictureLocation = "\\UNC\Path\Of\Picture\User.bmp"
FSO.CopyFile CompanyPictureLocation, LocalLocation, OverWriteExisting

Open in new window

2
Enjoy this complimentary article view.

Get unlimited access to our entire library of technical procedures, guides, and tutorials written by certified industry professionals.

Get 7 days free
Click here to view the full article

Using this article for work? Experts Exchange can benefit your whole team.

Learn More
COLLABORATE WITH CERTIFIED PROFESSIONALS
Experts Exchange is a tech solutions provider where users receive personalized tech help from vetted certified professionals. These industry professionals also write and publish relevant articles on our site.
Ask questions about what you read
If you have a question about something within an article, you can receive help directly from the article author. Experts Exchange article authors are available to answer questions and further the discussion.
Learn from the best.