Windows 10 Question about windows 10 new user login times...

  • Thread starter Thread starter 5Y54DMIN
  • Start date Start date
5

5Y54DMIN

Guest
The problem:
Basically this, when the very first user logs into a windows 10 1903 64 bit EDU its takes little over a minute to get the desktop. When a second new user logs in it takes less than 10 seconds to log in. Appears to happen for both domain and local accounts and the built in administrator account for the very first user log in.

The questions:
How to decrease the login time for the very first user that logs in?
What do you think is going on to cause the slow login time for the very first user that logs? Thoughts/theories?
What is your thoughts about the idea below, establishing an account some how during OSD? what would such a step look like in the task sequence?
What are your average log in times?
Do you think i should build and capture just to establish an account in the .wim, and import that to SCCM? (would rather not do this as i like clean never booted .wims...)

The Details:
We import the .wim file directly from the ISO we do not build and capture, this way the OS is clean and never booted. The task sequence installs everything we need (Chrome, Firefox, ETC) during OSD. It removes the Appxs we don't need and makes some reg changes along the way see code below.
When the very first user logs in it seems like its caching something or running something but not sure what it is. but when a second user logs in what has been cached and/or ran is already there allowing it to have a shorter log in time. However not sure what that could be.
When you google windows 10 log in time, we have done all the basic things, removing the appx and making some reg tweaks.
Windows 10 has always had slow login times, and have made tweaks over the years to decrease that time, and its gotten little better with each Windows update. Just over the past few weeks i have gotten it down to the 10 second mark, except for that very first user login.
No we do not use roaming profiles.

An Idea:
I have thought about maybe putting something in the task sequence to establish the local administrator account to count as the first login but not sure how to do that command line and if it would even work during OSD.

CODE:

REG_hacks.bat
echo Hibernation for Power Config" description="Disable Hibernation for Power Config" category="recommended" defaultSelected="true"
powercfg /h off
POWERCFG -SETACTIVE SCHEME_MIN

reg load "hku\temp" "%USERPROFILE%\..\Default User\NTUSER.DAT"

echo "Taskbar buttons" description="Taskbar buttons never combine." category="optional" defaultSelected="true"
reg ADD "hku\temp\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarGlomLevel /t REG_DWORD /d 2 /f

echo Search Engine - Disable" description="Disable Bing Search." category="recommended" defaultSelected="true
reg ADD "hku\temp\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v BingSearchEnabled /t REG_DWORD /d 0x00000000 /f

reg unload "hku\temp"

echo "IE Wizard - Disable" description="Removes the customization wizard upon first launch of Internet Explorer" category="recommended" defaultSelected="true"
reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main" /v DisableFirstRunCustomize /t REG_DWORD /d 0x1 /f

echo "Wi-Fi Sense" description="Turn off Automatically connect to suggested open hotspots." category="recommended" defaultSelected="true" runOnOs="16"
reg ADD "HKLM\Software\Microsoft\wcmsvc\wifinetworkmanager\config" /v AutoConnectAllowedOEM /t REG_DWORD /d 0 /f

echo Remove Microsoft Internet Explorer Initializer Setup" description="Remove Microsoft Internet Explorer Initializer setup from Personalized Settings. Optimize this item will shorten new user first login time.
reg delete "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}\StubPath" /f

echo Remove Microsoft Outlook MailNews Express Setup" description="Remove Microsoft Outlook MailNews Express setup from Personalized Settings. Optimize this item will shorten new user first login time." category="recommended" defaultSelected="true"
reg delete "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA840-CC51-11CF-AAFA-00AA00B6015C}\StubPath" /f

echo Remove Themes Setup" description="Remove Themes setup from Personlized Settings. Optimize this item will shorten new user first login time." category="recommended" defaultSelected="false"
reg delete "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{2C7339CF-2B09-4501-B3F3-F3508C9228ED}\StubPath" /f

echo shutup Cortana
reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowCortana /t REG_DWORD /d 0 /f
reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Search" /v AllowCortana /t REG_DWORD /d 0 /f

REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer /v DisableEdgeDesktopShortcutCreation /t REG_DWORD /d 1 /f

echo Remove DOTNETFRAMEWORKS setup from Personalized Settings. Optimize this item will shorten new user first login time.
reg delete "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{89B4C1CD-B018-4511-B0A1-5476DBF70820}" /v StubPath /f

echo Remove Microsoft Internet Explorer Initializer setup from Personalized Settings. Optimize this item will shorten new user first login time.
reg delete "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}" /v StubPath /f

echo Remove Themes setup from Personlized Settings. Optimize this item will shorten new user first login time.
reg delete "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{2C7339CF-2B09-4501-B3F3-F3508C9228ED}" /v StubPath /f

Remove_M$_apps.ps1
##Remove All Packages
$appname = @(
"*Feedbackhub*"
"*gethelp*"
"*OneConnect*"
"*yourphone*"
"*Microsoft.3DBuilder*"
"*BingFinance*"
"*BingNews*"
"*BingSports*"
"*BingWeather*"
"*king.com.CandyCrushSodaSaga*"
"*GetStarted*"
"*MicrosoftOfficeHub*"
"*MicrosoftSolitaireCollection*"
"*WindowsPhone*"
"*SkypeApp*"
"*SoundRecorder*"
"*Twitter*"
"*XboxApp*"
"*ZuneMusic*"
"*ZuneVideo*"
"*Microsoft.WindowsMaps*"
"*MixedReality*"
"*MicrosoftStickyNotes*"
"*windowscommunicationsapps*"
"*3dbuilder*"
"*Microsoft3DViewer*"
)
ForEach($app in $appname){
Get-AppxPackage -AllUsers -Name $app | Remove-AppxPackage -AllUsers -ErrorAction SilentlyContinue -Verbose
Get-AppxProvisionedPackage -Online | where {$_.PackageName -like $app} | Remove-AppxProvisionedPackage -AllUsers -Online -ErrorAction SilentlyContinue -Verbose
}

More...
 
Back
Top