How to run DCDIAG and NETDIAG on Multiple Computers Using a Batch File

I was onsite with a customer this week reviewing their Active Directory configuration.  During the visit the system admin I was working with mentioned he needed to run DCDIAG and NETDIAG on every domain controller (DC) in his domain and collect the output to prepare for their upcoming migration to Office 365.  When I got…

13

App-V Service Restart Script

This week I was working with my teammates troubleshooting an App-V server issue.  The App-V service is getting hung and prevents any client connections.  The fix the customer was using was to reboot the server because stopping/starting the App-V service (Application Virtualization Service) did not correct the issue.  The reason stopping/starting the service does not…

3

Testing Global Catalog Server Connectivity

Occasionally I’ll run into a situation where a workstation hangs or fails when trying to retrieve information from Active Directory (AD).  In some cases the problem presents itself when running DSQUERY to query for Active Directory data.  In other cases it can a manifest itself as Exchange address book look up issue since the Global…

0

Who Is Logged In?

A few months back one of my customers was trying use RDP to connect to a large number of desktop computers to manually install some security updates.  If the computer was being  used the admin had to wait until the person using the computer logged out and find another computer.  Unfortunately there was no easy…

1

Script Disclaimer

The sample scripts provided here are not supported under any Microsoft standard support program or service. All scripts are provided AS IS without warranty of any kind. Microsoft further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance…

0

Testing Domain Controller Connectivity Using PORTQRY

One common problem I see with Active Directory implementations is an Active Directory topology that is not fully routable.  In a fully routable environment every domain controller (DC) can communicate with every other DC.  While most customers “think” they have a fully routable environment in reality they do not.  In some cases there are multiple firewalls…

3

Finding Scheduled Tasks Configured with Disabled Accounts

One of my customers has undergone a great deal of turnover in the past few weeks on the System Administration team.  We discovered that a number of Scheduled Tasks configured on the servers were configured with the accounts of admnistrators (instead of service accounts!).  The accounts were disabled when the admins left the organization and the…

1

Using a Logon Script to Install the SMS Advanced Client

One of my customers has an extensive lab environment with multiple forests, domains and workgroup computers.  SMS 2003 was deployed to help manage the configuration of all these different systems.  Between the locked down security settings (no C$, ADMIN$ shares!) and the number separate forest/domains/workgroups involved the ability to “push” the advanced client to desktops is no longer an option. …

0

Configuring SMS to Work on Workgroup Computers and Computers in Other Domains (LMHOSTS)

As described in the previous post the lab environment includes multiple forests, domains and workgroup computers.  One of the nice things about SMS 2003 is the fact that once the SMS Client has been installed on a system, you “own” that system and can manage it from that day forward.  In the previous post, we discussed how to…

0

Who’s in the Local Administrators Group?

I was organizing files this weekend and ran across a script I created for a customer recently.   They we trying to determine the membership of the local Administrators group on each computer on their network.  The had determined that non-admin users were being added to the local Administrator group and needed to know how widespread…

20