Hi Nurul Amin,
Slow sign-ins with roaming profiles usually come down to how much data has to cross the network at sign-in and sign-out, so I'd start by finding out where the time actually goes. Check the Event Viewer logs under Applications and Services Logs > Microsoft > Windows > User Profile Service > Operational and GroupPolicy > Operational: Group Policy event 8001 (sign-in) and 8005 (sign-out) show total processing time, and the User Profile Service log will tell you if the profile load or upload is the slow part. Next, look at the size of the profile on the file server.
In my experience, the usual culprits are browser caches, Teams data, and other app junk building up in AppData\Roaming, and you can keep those folders from roaming with the "Exclude directories in roaming profile" Group Policy setting. Folder redirection helps a lot when Documents, Desktop and AppData\Roaming are redirected so they no longer sync at every sign-in and sign-out, but watch out for Offline Files, since a big or broken offline cache can add delays of its own. On the network side, test latency and throughput from an affected client to the profile server (a quick robocopy of a test folder works fine), and confirm that the share sits close to the users and isn't across a slow WAN link.
If you still can't pin it down, gpresult /h report.html will show which policies apply, and a Windows Performance Recorder trace with the "Boot and logon" profile, opened in Windows Performance Analyzer, will show exactly which phase is stalling. Long term, many of my customers have moved from classic roaming profiles to FSLogix profile containers, which mount the profile as a virtual disk instead of copying files back and forth and remove most of these problems.
I hope the response provided some helpful insight. If you find this answer useful, please hit “accept answer” so I know it addressed your concern.
Jason