Assuming that you have Windows 7 Professional / Enterprise or Ultimate, try
going into Policy Editor (gpedit.msc), navigate to Computer Configuration,
Administrative Templates, System and then User Profiles.
Open the setting in the list “Set maximum wait time for the network if a user
has a roaming user profile or remote home directory”, change it to enabled and
set wait for network for maximum to 0 and then OK.
Also not to allow logons with temporary profiles