Reich Consulting
1Aug/090

KiXtart Fails to Delete Network Drives

I recently ran into an issue with a logon script written in KiXtart failing to disconnect network drives. I can only guess from the dozens of forum posts I found online that this is a common problem that scripters run into.  Luckily there is a simple solution.

The Problem

When you issue a Use "<drive>" /Delete comment from KiXtart or a NET USE <drive> /DELETE batch file command, the drive letter in question isn't actually deleted from My Computer. Instead, the drive will be listed as a Disconnected Network Drive and when opened it will automatically reconnect.  This happens when the drive was initially connected using by mapping the drive manually and selecting "Reconnect at logon" or by executing one of the following commands:

Use [drive] /Persistent
NET USE [drive] /PERSISTENT:YES

The Solution

Deleting persistent drives may require that you use the /Persistent switch when you execute the delete command. You can delete a single network drive using one of the following commands:

Use [drive] /Delete /Persistent
NET USE [drive] /DELETE /PERSISTENT:YES

Or alternatively, you can delete all network drives at the beginning of your script using one of the following:

Use * /Delete /Persistent
NET USE * /DELETE /PERSISTENT:YES
13Dec/081

Video: Finding Your Network Settings in Windows Vista

A YouTube member who watched my video about Finding Your Network Settings on Windows XP requested that someone make a similar video for Windows Vista. This video is quick and dirty, but it walks users through each step of finding their network connection settings both through the Windows user interface as well as through the command prompt.

18Feb/082

Enabling Network Discovery on Vista Without Windows Server 2008

This problem has been making my life a living hell since we deployed Windows Vista to a handful of workstations several months ago. According to Microsoft, "Network discovery is a network setting that affects whether your computer can see (find) other computers and devices on the network and whether other computers on the network can see your computer." What this means to a network administrator is that, even with correct firewall rules in place, communication between your Vista workstations and 2000/2003/XP workstations and servers will basically cease to function. Apparently Windows Server 2008 has a GPO policy that resolves this, but the fact that it hasn't been released to the public yet tends to keep up from upgrading. In the meantime you can solve this problem by applying a couple of registry entries to your workstations.

[Update]: For those of you fortunate enough to be using Server 2008, check out this page over at the MSDN Blogs about turning on Network Discovery via Server 2008 Group Policy.

21Jan/080

Troubleshooting PostgreSQL Connection Problems

I've been using PostgreSQL for years as the back-end database for my company's intranet, and though I haven't had to reinstall it once in the past five years on the production server, I inevitably need to reinstall it on my development workstation at least once or twice a year. Of course when the time comes for a reinstall, the steps I've taken to make it work have been completely forgotten. Performing a basic install of PostgreSQL which communicates only over the loopback interface (127.0.0.1) is simple, and so I won't explain that here. Because the platform's configuration is spread across several files, network configuration can get a bit confusing. This article will explain how to open up PostgreSQL to communicate with other computers on your network.

17Jan/081

Video: Find Your Network Settings in Windows XP

This video is a visual guide through my previous tutorial about locating your network settings in Windows XP. It also happens to be my first attempt at creating a video on my PC. The video discusses some of the reasons you might need to find your network settings, then guides you through each click in the process of finding your network configuration.

15Jan/082

Find Your Network Settings in Windows XP

Eventually while using your computer a situation will arise when you may need to know a little information about your network connection. You may need this information for a tech support call, to configure a networked video game system, or to add a new PC to your home network. This article will explain how to determine view your network configuration on a PC running Windows XP.

[Update: I've created a video to visually guide you through this tutorial. It will show you the actual click-by-click process of locating your Windows XP network configuration.]