To make BGInfo display UPN / Logged On Username
(This will display what the user uses as logon name)
Open your *.bgi file
Create a custom field by clicking "Custom.."
In the User Defined Fields dialouge click "New.."
In the Define New Field dialouge enter the following:
Identifier: Logged on Username
Replace Identifier with: Mark "Registry value" and "64-bit registry view"
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\LastLoggedOnUser
Add your newly created field by marking "Logged on Username" and then click "< - Add"
9/25/18
1/10/18
Prevent desktop shortcut creation for Google Chrome
To prevent Googe Chrome installation to create a dekstop shortcut I needed to do two things:
1. Delete the shortcut created in the public folder
Run command line: Powershell.exe -Command "&{Remove-Item 'C:\Users\Public\Desktop\Google Chrome.lnk'}"
2. Replace the master_preferences file with one that contains the setting "create_all_shortcuts":false
Run commandline: Powershell.exe -Command "&{Copy-Item '.\master_preferences' 'C:\Program Files (x86)\Google\Chrome\Application'}"
(where this step is configured to use a package containing the modified master_preferences file)
1. Delete the shortcut created in the public folder
Run command line: Powershell.exe -Command "&{Remove-Item 'C:\Users\Public\Desktop\Google Chrome.lnk'}"
2. Replace the master_preferences file with one that contains the setting "create_all_shortcuts":false
Run commandline: Powershell.exe -Command "&{Copy-Item '.\master_preferences' 'C:\Program Files (x86)\Google\Chrome\Application'}"
(where this step is configured to use a package containing the modified master_preferences file)
Subscribe to:
Posts (Atom)