<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

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

Published on
15,755 Points
12,055 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
Comment
1 Comment

Expert Comment

by:seanmoles
Your the man dude!!!
0

Featured Post

The Five Tenets of the Most Secure Backup

Data loss can hit a business in any number of ways. In reality, companies should expect to lose data at some point. The challenge is having a plan to recover from such an event.

Join & Write a Comment

The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
A query can call a function, and a function can call Excel, even though we are in Access. This is Part 2, and steps you through the VBA that "wraps" Excel functionality so we can use its worksheet functions in Access. The declaration statement de…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month