Windows Server 2008 Schtasks error: User credentials are not allowed on the local machine

by File in: Windows

Last week I attempted to add a scheduled task to my Windows 2008 server using schtasks.exe. The syntax I used was: schtasks /create /S server /U DOMAIN\ACCOUNT /P password /SC daily /ST 15:00 /TN BkupIIS /TR c:\scripts\bkupiis.cmd I received the following message from schtasks.exe: User credentials are not allowed on the local machine The task […]

Fix for VMWare error: Could not open virtual machine, this virtual machine appears to be in use

by File in: Virtualization

This morning I received the following error when trying to power on a VMware Workstation virtual machine: Could not open virtual machine: C:\VMs\Windows Server 2003 Standard Edition.vmx. This virtual machine appears to be in use. To resolve the issue, I deleted all of the .lck files and directories in the guest’s directory listed above. This […]

Using Caspol.exe to Grant .NET Applications Rights to a Remote Network Share

by File in: IIS

When you host a .NET application on a remote network share, you may receive a System.SecurityException exception error message or a security warning message. The Code Access Security Policy tool (CASPOL) enables administrators to modify security policy for the machine policy level, the user policy level, and the enterprise policy level. Caspol is used to […]

Using Winsat.exe in Windows as a Performance Benchmarking Tool

by File in: Windows

Microsoft has the Windows System Assessment Tool (Winsat) available for download that can assess a computer’s ability to run Windows.  This tool provides a wealth of information on your hardware’s horsepower, plus it’s scriptable. It’s designed to run under Windows Vista, but can be run under Windows Server 2008 as well.  Here’s how to do […]

How to completely disable DEP in Windows Server 2003

by File in: Windows

To completely disable DEP in Windows Server 2003, perform the following with administrative credentials: 1. Open Windows Explorer 2. Tools > Folder Options > View 3. Uncheck Hide Protected operating system files (Recommended) and Hide extensions for known file types 4. Click apply > OK 5. Browse to C:\ 6. Right click on boot.ini, select […]

Fix: The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://x.x.x.x:80/ for site 1

by File in: IIS

Fix for The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://x.x.x.x:80/ for site 1. The site has been disabled. The data field contains the error number. System log Event: 1004 Source: IIS-W3SVC Error received when trying to start the stopped web site:  The process cannot access the file because […]

Howto: Mount a Windows share on SLES linux using cifs

by File in: Linux

This post is mainly for my own benefit.  I mount Windows shares on my SuSE linux box so infrequently, I have to dig through past notes to remind myself what the syntax is. To mount a Windows share on SLES linux using cifs: mount -t cifs -o username=jsmith //po5/gwdompri /mnt/po5/gwdompri where: jsmith is the user […]

Reinstalling the McAfee Common Management Agent Framework (framepkg.exe) without a reboot

by File in: Fixes

Normally reinstalling the McAfee Common Management Agent (CMA) requires a reboot in order for the server to be properly displayed in the EPO management interface.  Here’s how to perform the reinstall, minus the reboot requirement. 1.  Connect to the Windows server console by logging directly onto the server, or by connecting via RDP by running […]

A Portable Remote Desktop Connection (mstsc.exe)

by File in: Utilities

I ran across Claus’s link to the makeuseof.com article that shows how to run Microsoft’s Remote Desktop Connection program as a portable application from a USB drive. This lead me to think about how this could be of value in my environment.  I frequently hop from server to server using Microsoft’s Terminal Services client, mstsc.exe, which […]

Howto: Disable the clicking sound in Internet Explorer and Windows Explorer

by File in: How-To

The clicking sound that Windows plays when you click on a link in Internet Explorer or open a folder in Windows Explorer can get annoying. Here’s how to disable the sound in Windows XP: Click Start > Control Panel > Sounds and Audio Devices Click the Sounds tab Scroll down the list under Program Events. Under […]