Obscurum per Obscurius

Explaining the obscure by means of the more obscure

Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Modifying Security on Active Directory Objects using a script

    I was working with a customer this week and we found some user objects in Active Directory had incorrect security settings. I put together a list of commands for the customer to use. I thought a few of the FOR command examples below were useful so here you go... These command can also be used in a...
  • Blog Post: Send Email from a Script

    Scripts are great for automating tasks that you need to perform on a regular basis. With a few lines of code you add the ability to send an email from within your scripts to notify you of a particular event. From a programming standpoint, there are two ways to send a script programmatically. The first...
  • Blog Post: Controlling Virtual Machines with a Script

    I discovered how easy it is to control virtual machines with a script this weekend. I have one server that I use to run virtual machines that I keep running all the time. When I patch this server, I need to shut down all VMs before it is restarted and then restart the VMs after the computer starts. After...
  • Blog Post: Script Code Link Added

    I have a link in the left navigation bar to a page where I will begin posting some scripts I have written. I have written several useful scripts over the years and I'll post them here as time permits. The scripts will mostly be VBscript using WMI and ADSI scripting interfaces to retrieve information...
  • Blog Post: Using the FOR Command

    There are a number of useful command-line utilities that can be used to manage remote computers. The FOR command enables you to run a command ageist several computers of files. For example the command line below can be used to ping (DO ping) the first item on each line (tokens=1) in the file input.txt...
  • Blog Post: FileCopy

    Overview This FileCopy.vbs script performs a very simple task - it copies a file to the same directory on a number of computers. A list of computers is provided in a test file named by default INPUT.TXT and then performs the file copy to each computer listed. The script also creates an output log file...
  • Blog Post: Useful Scripts

    I like to write scripts. I really enjoy automating some boring task and then walking away from it. Who knows, maybe deep down I secretly desire to be a programmer... Over the years I have written a number of scripts for customers from simple batch files to more complicated scripts to manage Active...
  • Blog Post: Automate Network Adapter Configuration using NETSH

    So I'm kind of lazy. Not in the "sleep late and don't go to work" slacker way, I just don't like doing dull r epetitive tasks if they can be automated in some way. As a rule if I have to do the same task more than a couple of times I'm writing a script (or getting someone else to do it). During the...
Page 1 of 1 (18 items)