Regards
Simon Wright
ICT Manager
Best for boys through the right learning | |
2 Arthur Street, Dunedin, 9016, New Zealand p: 03 477 5527 | f: 03 477 5468 | c: 021 773 229 | w: obhs.school.nz |
--
You received this message because you are subscribed to the Google Groups "Techies for schools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to techies-for-schools+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|
Regards
Simon Wright
ICT Manager
Best for boys through the right learning | |
2 Arthur Street, Dunedin, 9016, New Zealand p: 03 477 5527 | f: 03 477 5468 | c: 021 773 229 | w: obhs.school.nz |
--
You received this message because you are subscribed to the Google Groups "Techies for schools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to techies-for-schools+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Regards
Simon Wright
ICT Manager
Best for boys through the right learning | |
2 Arthur Street, Dunedin, 9016, New Zealand p: 03 477 5527 | f: 03 477 5468 | c: 021 773 229 | w: obhs.school.nz |
--
You received this message because you are subscribed to the Google Groups "Techies for schools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to techies-for-schools+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run """\\printserver\PCClient\win\pc-client-local-cache.exe""", 1, False
objShell.Run """\\sharedserver\path\Pinto10\taskbar-staff-portable.cmd""", 2, False
objShell.Run """\\sharedserver\path\Language_win10x64\Language Bar\languagebar-languages-staff-portable.cmd""", 2, False
objShell.Run """\\sharedserver\path\OneDrive\onedrive-setup.cmd""", 2, False
' NB - powershell must be allowed to execute on the system for following app store apps to install
' GPO - Local Security Policy > Local Policies > Security Options > UAC: Behavior Admin Approval = Elevate without prompting
' GPO - Admin Templates > Windows Components/Windows PowerShell > Turn on Script Execution = Allow all scripts
objShell.Run """\\sharedserver\path\Surface Pro\install-appstore.cmd""", 2, False
:: remove insider hub
dism.exe /online /Remove-Package /PackageName:Microsoft-Windows-InsiderHub-Package~31bf3856ad364e35~amd64~~10.0.10586.0
:: remove unwanted store apps (wont show on post sysprep)
move "C:\windows\systemapps\ContactSupport_cw5n1h2txyewy" "C:\windows\systemapps\_ContactSupport_cw5n1h2txyewy"
move "C:\windows\systemapps\InsiderHub_cw5n1h2txyewy" "C:\windows\systemapps\_InsiderHub_cw5n1h2txyewy"
move "C:\windows\systemapps\WindowsFeedback_cw5n1h2txyewy" "C:\windows\systemapps\_WindowsFeedback_cw5n1h2txyewy"
echo "Elevating priviledges for this process"
$myWindowsID=[System.Security.Principal.WindowsIdentity]::GetCurrent()
$myWindowsPrincipal=new-object System.Security.Principal.WindowsPrincipal($myWindowsID)
$adminRole=[System.Security.Principal.WindowsBuiltInRole]::Administrator
if ($myWindowsPrincipal.IsInRole($adminRole)) {
$Host.UI.RawUI.WindowTitle = $myInvocation.MyCommand.Definition + "(Elevated)"
$Host.UI.RawUI.BackgroundColor = "DarkBlue"
clear-host}
else {
$newProcess = new-object System.Diagnostics.ProcessStartInfo "PowerShell";
$newProcess.Arguments = $myInvocation.MyCommand.Definition;
$newProcess.Verb = "runas";
[System.Diagnostics.Process]::Start($newProcess);
exit}
echo "Uninstalling default apps"
$apps = @(
# default Windows 10 apps
#"Microsoft.3DBuilder"
#"Microsoft.Appconnector"
"Microsoft.BingFinance"
"Microsoft.BingNews"
"Microsoft.BingSports"
#"Microsoft.BingWeather"
#"Microsoft.FreshPaint"
"Microsoft.Getstarted"
"Microsoft.MicrosoftOfficeHub"
"Microsoft.MicrosoftSolitaireCollection"
#"Microsoft.MicrosoftStickyNotes"
"Microsoft.Office.OneNote"
"Microsoft.OneConnect"
"Microsoft.People"
"Microsoft.SkypeApp"
#"Microsoft.Windows.Photos"
#"Microsoft.WindowsAlarms"
#"Microsoft.WindowsCalculator"
#"Microsoft.WindowsCamera"
#"Microsoft.WindowsMaps"
"Microsoft.WindowsPhone"
#"Microsoft.WindowsSoundRecorder"
#"Microsoft.WindowsStore"
"Microsoft.XboxApp"
"Microsoft.ZuneMusic"
"Microsoft.ZuneVideo"
#"microsoft.windowscommunicationsapps" - Windows Mail - keep!
"Microsoft.MinecraftUWP"
# Threshold 2 apps
"Microsoft.CommsPhone"
"Microsoft.ConnectivityStore"
"Microsoft.Messaging"
#"Microsoft.Office.Sway"
#Redstone apps
"Microsoft.BingFoodAndDrink"
"Microsoft.BingTravel"
"Microsoft.BingHealthAndFitness"
"Microsoft.WindowsReadingList"
#test
"Microsoft.WindowsFeedback"
"Microsoft.WindowsFeedbackHub"
# non-Microsoft
"9E2F88E3.Twitter"
"PandoraMediaInc.29680B314EFC2"
"Flipboard.Flipboard"
"ShazamEntertainmentLtd.Shazam"
"king.com.CandyCrushSaga"
"king.com.CandyCrushSodaSaga"
"king.com.*"
"ClearChannelRadioDigital.iHeartRadio"
"4DF9E0F8.Netflix"
"6Wunderkinder.Wunderlist"
"Drawboard.DrawboardPDF"
"2FE3CB00.PicsArt-PhotoStudio"
"D52A8D61.FarmVille2CountryEscape"
"TuneIn.TuneInRadio"
"GAMELOFTSA.Asphalt8Airborne"
"TheNewYorkTimes.NYTCrossword"
# apps which cannot be removed using Remove-AppxPackage
#"Microsoft.BioEnrollment"
#"Microsoft.MicrosoftEdge"
#"Microsoft.Windows.Cortana"
#"Microsoft.WindowsFeedback"
#"Microsoft.XboxGameCallableUI"
#"Microsoft.XboxIdentityProvider"
#"Windows.ContactSupport"
)
foreach ($app in $apps) {
echo "Trying to remove $app"
Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage
Get-AppXProvisionedPackage -Online | where DisplayName -EQ $app | Remove-AppxProvisionedPackage -Online
}
Regards
Simon Wright
ICT Manager
Best for boys through the right learning | |
2 Arthur Street, Dunedin, 9016, New Zealand p: 03 477 5527 | f: 03 477 5468 | c: 021 773 229 | w: obhs.school.nz |
--
You received this message because you are subscribed to the Google Groups "Techies for schools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to techies-for-schools+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Regards
Simon Wright
ICT Manager
Best for boys through the right learning | |
2 Arthur Street, Dunedin, 9016, New Zealand p: 03 477 5527 | f: 03 477 5468 | c: 021 773 229 | w: obhs.school.nz |
To unsubscribe from this group and stop receiving emails from it, send an email to techies-for-schools+unsubscribe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to techies-for-schools+unsub...@googlegroups.com.
Regards
Simon Wright
ICT Manager
Best for boys through the right learning | |
2 Arthur Street, Dunedin, 9016, New Zealand p: 03 477 5527 | f: 03 477 5468 | c: 021 773 229 | w: obhs.school.nz |
--
Nick Steenson ICT Technician Mt Aspiring College p: +643 443 0463 (Ext 830) a: Plantation Rd, Wanaka 9305 e: stee...@mtaspiring.school.nz
--You received this message because you are subscribed to the Google Groups "Techies for schools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to techies-for-schools+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Regards
Simon Wright
ICT Manager
Best for boys through the right learning | |
2 Arthur Street, Dunedin, 9016, New Zealand p: 03 477 5527 | f: 03 477 5468 | c: 021 773 229 | w: obhs.school.nz |
--
You received this message because you are subscribed to the Google Groups "Techies for schools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to techies-for-schools+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.