Windows Server 2000/2003 Thread, Windows 7 headache black screen on logon in Technical; Hi, up until a week ago I had been happily testing domain users logging into both XP and Windows 7 ...
-
26th April 2011, 04:32 PM #1
- Rep Power
- 3
Windows 7 headache black screen on logon
Hi, up until a week ago I had been happily testing domain users logging into both XP and Windows 7 PCs with their separate roaming profiles.
but since a few days ago, any domain users (except administrator) when they login they get a black screen with a mouse pointer and it takes over 15 minutes before their desktop appears.
I looked in the eventviewer but nothing! no errors just the usual error about the login taking over 600 seconds.
I don't know why all of a sudden this has started happening, nothing has changed... maybe a windows update I don't know.
-
-
IDG Tech News
-
26th April 2011, 05:48 PM #2
- Rep Power
- 3
After uninistalling drivers / reinstalling drivers , removing windows updates , restoring previous restore points... I nearly gave up.
But, after playing around I removed the printer script that is invoked on user login in group policy and it worked! THis makes sense now... it was working before because the computer was in a different OU and the printers were not being applied. But since I moved the computer to the new OU it was trying to install a driver (hence the black screen).
To find this out I copied the .vbs script and a shortcut to cmd to the users folder and then opened cmd and ran cscript "script.vbs"... then I saw the script prompted to install a printer driver!
Phew... that was a bit of a headache.
-
-
26th April 2011, 05:52 PM #3
-
-
26th April 2011, 06:54 PM #4
- Rep Power
- 3
Thanks!! That was going to be my next question.. how to ignore UAC prompt when installing printers.
-
-
26th April 2011, 06:56 PM #5
- Rep Power
- 3
That link is great... except one small problem... its a windows 2003 domain... grrrr... this could be another headache.
-
-
26th April 2011, 07:00 PM #6 
Originally Posted by
MaXiM
That link is great... except one small problem... its a windows 2003 domain... grrrr... this could be another headache.
You can use a Windows 7 machine with the RSAT tools installed on it to set Windows 7 policies even if your domain is 2003. Having a 2008 server just makes it a little easier as the tools are already installed.
Download details: Remote Server Administration Tools for Windows 7 with Service Pack 1 (SP1)
You need to install it then add the components from the add/remove features bit in control panel to get the group policy managment bit.
-
-
26th April 2011, 07:05 PM #7
- Rep Power
- 3
You're the man.. I will try that tomorrow thanks.
-
-
26th April 2011, 07:06 PM #8
- Rep Power
- 3
So where do I set the policies though? using gpedit on the local windows 7 PC?
-
-
26th April 2011, 07:10 PM #9 Once you have the RSAT tools on a domain joined workstation you log on to the workstation as a domain administrator and open up the group policy managment console which will point at the domain just like the GPMC on a 2003 server but with the ability to edit policies for Windows 7 rather than just for XP.
-
-
27th April 2011, 10:55 AM #10
- Rep Power
- 3
Hi, I did as you said, downloaded installed RSAT tools. I enabled the group policy management tools bit in the windows features. I then opened gpedit and went to the computer config -admin templates - printers point and print restrictions
opened that and enabled it and said do not warn for both.
did a gpupdate, rebooted and attempted to log in... black screen... script still waiting for user input to install printer.
Did I do something wrong?
-
-
27th April 2011, 11:55 AM #11
- Rep Power
- 3
Do I have to enable UAC on the computer before this policy would work do you think?
-
-
27th April 2011, 06:58 PM #12
- Rep Power
- 3
Well I couldn't get it to work so I tried another approach. I edited the local GP on the windows 7 PC and in the user login script added a batch file which runs con2prt.exe and added the printers that way.. it worked better than I thought!
-
-
27th April 2011, 07:06 PM #13 Ah if you are using really old tools like con2prt (NT resource kit as far as I remember) then it will not work, you need to use a vbs script or something simmilar (even net use) and yes you would probably need UAC on because UAC is the thing that lets it prompt nicely if it needs elevation rather than just plain failing.
Last edited by SYNACK; 27th April 2011 at 07:13 PM.
-
-
27th April 2011, 10:05 PM #14
- Rep Power
- 3
No I was using a vbs script originally but couldn't get it to work even though i followed the instructions. I just got a black screen with the mouse pointer when logging in and had to wait 15 mins for group policy to time out before the desktop appeared.
Con2prt was my other idea which seemed to do the trick.
-
-
28th April 2011, 12:56 AM #15 
Originally Posted by
SYNACK
According to Microsoft, disabling Point and Print restrictions has the same effect. 
http://technet.microsoft.com/en-us/l.../cc753269.aspx
To disable driver installation warning messages and elevation prompts on computers that are running Windows 7 and Windows Server 2008 R2, in the Point and Print Restrictions dialog box, click
Disabled, and then click OK.
This setting disables the enhanced printer driver installation security of Windows 7 and Windows Server 2008 R2.
The Point and Print Restrictions setting can also be found under
User Configuration\Policies\Administrative Templates\Control Panel\Printers. This policy is ignored by Windows 7 and Windows Server 2008 R2, but is enforced by earlier editions of the operation system including versions Windows XP with SP1, Windows Server 2003 with SP1, and Windows Server 2008. We recommend that you change this policy setting in both locations so that all down-level clients have a consistent experience.
Also, why not just use Group Policy Preferences to add the shared printers? The client-side extensions install the driver on behalf of the user and item-level targeting can be used to map the printers based on a huge range of criteria...
http://www.msserveradmin.com/the-one...y-preferences/
-
SHARE:
Similar Threads
-
By eddyc in forum Windows 7
Replies: 14
Last Post: 26th March 2010, 09:34 AM
-
By LeightonJames in forum Windows 7
Replies: 5
Last Post: 23rd October 2009, 08:36 PM
-
By Oops_my_bad in forum Thin Client and Virtual Machines
Replies: 4
Last Post: 1st June 2009, 07:22 PM
-
By ousecruz in forum Windows
Replies: 7
Last Post: 13th March 2009, 10:46 AM
-
By ctbjs in forum How do you do....it?
Replies: 4
Last Post: 4th April 2007, 01:11 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules