Skip to content
Vectel

Our login scripts map drives, hook up printers, push group policies. For some users it takes 90 seconds before the desktop responds.

VBS or CMD login scripts are usually sequential and hang on each slow share or print server. Using Group Policy Preferences plus some parallelism, you offload ten-year-old legacy.

support/performance/login-scripts-versnellensteps: 6

Try this first

  1. Inventory what the login script does today. Drive mappings, printer hookups, registry tweaks, file copies. Write it down, otherwise you'll accidentally break something one department relies on.
  2. Replace drive mappings and printer installs with Group Policy Preferences (GPP). GPP runs async and supports item-level targeting (per security group or OU). Scales much better than 'if memberOf' in script.
  3. Slow steps that must stay scripted: wrap them in 'start /b' (Windows) or run as async PowerShell jobs. The user doesn't need to wait for the print server ping.
  4. Enable synchronous foreground processing only where strictly required (folder redirection first setup). By default policy can run async: Computer Configuration, Administrative Templates, System, Logon, 'Always wait for the network at computer startup and logon' = not configured or disabled.
  5. Measure with gpresult /h and the Microsoft-Windows-GroupPolicy/Operational event log. You'll see per CSE (client-side extension) how many ms it took. Tackle the top two first.
  6. Document what remains. Put an expiry date on every rule, otherwise mappings to long-dead fileservers linger 5 years from now.

When to bring us in

If login stays slow after GPP migration, look at network latency to DC and share server. A branch office without a local DC will always feel slow at sign-in.

See also

Was this helpful?

None of the above fits?

Describe your situation below. We pass your input plus the steps you already saw to our AI and return tailored next-step advice. If it's too risky to DIY, we'll say so.

Who are you?

For the AI question we need your email and company, so we can follow up if the AI gets stuck, and to prevent abuse.

Limited to 2 questions per hour and 5 per day, kept lean so the AI stays useful. For more, contacting us directly works better for you and us.

Or skip the DIY entirely

Our Managed IT clients do not look these things up. One point of contact, a fixed monthly price, resolved within working hours.