Fix: Userenv event 1521 and Userenv 1511 errors in Windows Server 2003 Application log

by File in: Windows

The following events were listed in the Windows 2003 event log when one of our second level help desk staff connected to the server console via RDP: Event 1521 Source Userenv  Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile. Changes to the […]

Fix: rdpclip.exe Won’t Run on Windows Server

by File in: Fixes

I had two identically configured Windows servers, one that would allow remote copy/paste from the server to the client via RDP, and one that wouldn’t.  I finally took the time today to resolve the issue once and for all. First thing I verified was that in the Local Resources tab of Remote Desktop Connection (mstsc.exe)  […]

Howto: Do not display the name of the user who has locked a Windows computer or server

by File in: How-To

Normally when a Windows workstation or server is locked, you’ll see something similar to the following Windows Security message: This computer is in use and has been locked. Only DOMAIN\USER (user name) or an administrator can unlock this computer. To not show the name of the user who has locked a computer, the following can […]

Fix: 0×80070005: Access is denied when running scheduled task as a non-administrator

by File in: Windows

I was running a scheduled task on a Windows 2003 server that called a script that ran as a non-administrator on the server.  The service account that the script ran under had rights to all the appropriate directories on the server, but I still kept seeing the following error after the scheduled task failed to […]

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 […]