Set Default Profile Picture - Windows 10
Log In or Register to download the BES file, and more.

0 Votes

Description

Sets the default profile picture for all users in Windows 10.

*** Files need to be the same picture, just different names ***


Property Details

ID25579
StatusProduction - Fully Tested and Ready for Production
TitleSet Default Profile Picture - Windows 10
DomainBESC
CategoryBigfix.me
SourceInternal
Source IDn0m4d1c
Source Release Date10/3/2018 12:00:00 AM
KeywordsSet Default Profile Picture - Windows 10
Is TaskTrue
Added by on 11/9/2018 3:24:50 PM
Last Modified by on 11/9/2018 3:24:50 PM
Counters 264 Views / 2 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 81 fixlets and 86 analyses   * Results in a true/false
Show indented relevance
true

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
//*********************************************************************
// Insert prefetch for your PNG files
//*********************************************************************

delete "C:\ProgramData\Microsoft\User Account Pictures\guest.png"
delete "C:\ProgramData\Microsoft\User Account Pictures\user.png"
delete "C:\ProgramData\Microsoft\User Account Pictures\user-32.png"
delete "C:\ProgramData\Microsoft\User Account Pictures\user-40.png"
delete "C:\ProgramData\Microsoft\User Account Pictures\user-48.png"
delete "C:\ProgramData\Microsoft\User Account Pictures\user-192.png"

copy "__Download\guest.png" "C:\ProgramData\Microsoft\User Account Pictures\guest.png"
copy "__Download\user.png" "C:\ProgramData\Microsoft\User Account Pictures\user.png"
copy "__Download\user-32.png" "C:\ProgramData\Microsoft\User Account Pictures\user-32.png"
copy "__Download\user-40.png" "C:\ProgramData\Microsoft\User Account Pictures\user-40.png"
copy "__Download\user-48.png" "C:\ProgramData\Microsoft\User Account Pictures\user-48.png"
copy "__Download\user-192.png" "C:\ProgramData\Microsoft\User Account Pictures\user-192.png"

waithidden cmd.exe /C reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v UseDefaultTile /t REG_DWORD /d 1 /f
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!