Windows 7 hangs at welcome and then black screens

Reading Time: < 1 minute

When you login to a Windows 7 machine on a domain, the logon process hangs at the welcome screen for 30 seconds and then black screens. You can still move around your cursor but can not see the desktop. After a few minutes the desktop may load.

I experienced a similar issue, tried all the usual known issues/fixes such as adding a desktop background instead of using a solid colour etc etc.

At the end I found the issue was related to a policy called ‘Run Logon Scripts Synchronously’

I disabled the policy and monitored the network for a few weeks. Found that it did not cause any issues with drives mapping via script.

But disabling the policy ‘Run Logon Scripts Synchronously’ resolved the logon issue.

The policy can be located at:

1) User config
2) Expand Administrative Tools
3) Expand
4) System
5) Click the Scripts
6) Right click the policy ‘Run Logon Scripts Synchronously’ on the right hand side, click enable and OK.

Printers offline in windows 2008 R2

Reading Time: < 1 minute

You find that printers on your Windows 2008 server are going offline randomly.

I experienced an issue when setting up new printers on a new print server and found that a few printers remained online where others were offline and my test prints queued. After restarting the print spooler, the print jobs went through fine but then the printer switched to offline again. I was able to ping the printer and get to the printer interface via a browser without any problems.

After some investigation and finding that it was not a firewall issue, I disabled SNMP on all the printers which were experiencing issues.

The ones which were running fine already had SNMP disabled, probably due to them not supporting SNMP. If you are experiencing issues try disabling SNMP and then investigate what’s interfering with SNMP.

To disabled SNMP, right click on the printer, click on Printer Properties, click the tab ‘ports’, click configure port and uncheck SNMP Status Enabled.

Your printer should come online straight away.

Controlling permissions to applications available via redirected desktop or start menu

Reading Time: 2 minutes

I have seen lots of environments where administrators have setup several start menu or desktop redirected folders for different departments with an organisation.

For example:
Sage Payroll should only be available for the Payroll department, so therefore a redirected start menu folder is setup for the payroll department. Another redirected start menu folder may be setup for the I.T department and so on. At the end you may have several redirected start menu and desktop folders which can look messy and become difficult to manage.

Microsoft do have a tool available which will make your life much easier and allow you to use one start menu or desktop folder for all users. You can make shortcuts available to users depending on what security groups they are part of. So you have one redirected start menu folder for all users but only make apps available which they need to use, and this is all controlled by Security Groups.

The tool is Share and Storage Management which is part of Windows Server 2008 and replaces File Server Management tool in Windows Server 2003.

To add the feature to a Windows 2008 server:

1. Start the Server Manager
2. Click Roles
3. Click Add Roles
4. Select File Services and click the Next button
5. Select File Server Resource Manager
6. Decide which volumes you would like to monitor and configure the rest as required
7. When done, the File Server Resource Manager and the Share and Storage Management tools are installed

To configure the feature

1. Access Share and Storage Management tools via programs, administrative tools
2. Right click on the share, for example startmenu if you have one
3. Click Properties
4. Click the advanced button
5. Click ‘Enable Access-Based enumeration’ and click OK
6. Click the permissions tab and setup share permissions and NTFS permission as required. If its for a redirected start or desktop folder, you may want to allow users
read only access.
7. Click OK when done
8. Now access your redirected start menu folder where ever it is setup, right click on a shortcut, for example Sage Payroll and add the Sage Security Group to the security tab. The result is, the Sage Payroll application shortcut
will only be visible to users within the Sage Security Group.