Windows

Howto: Delegate the enable/disable accounts permission in Active Directory

by File in: Windows

To delegate the ability to enable and disable user accounts in Active Directory: Launch Active Directory Users and Computers with adminsitrative credentials Right click on the OU where you want to delegate the ability to enable and disable user accounts Select the Active Directory security group that you want to delegate the ability to and […]

Access is denied when attempting to view or restore Volume Shadow Copy contents

by File in: Windows

I setup our help desk users to be able to restore documents using Microsoft’s Volume Shadow Copy client on remote servers yesterday.  Everything worked just fine for me as an administrator, and for users who owned the files, but it didn’t work for the help desk folks.  I found out they didn’t have NTFS rights to […]

HowTo: Export a list of all computers in an AD OU

by File in: Windows

To export a list of all computers and non domain controller servers in an Active Directory OU, use dsquery.exe.  For example, to export all computers in mydomain.com’s servers OU to machines.txt : DSQUERY COMPUTER “OU=servers,DC=mydomain,DC=com” -o rdn -limit 1000 > c:\machines.txt   Use -limit when you want to return more than the default 100 results.  Note […]

Fix: Blank screen when using Windows XP telnet client

by File in: Windows

Today when I established a telnet session to a host on port 80 from my Windows XP machine, I was unable to see any commands I typed echoed on the screen.  I knew I had to enable local echo, but always seem to forget how to do it. KB196748 describes how to enable local echo […]

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

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

by File in: Group Policy, registry, Windows

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

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

Using Winsat.exe in Windows Server 2008 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 Vista.  This tool provides a wealth of information on you 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 […]

Copying command prompt output directly to the Windows clipboard

by File in: Windows

How often have you wanted to copy the output of a Windows command from the command prompt, but had to go thought the process of marking and copying the text first?  Redirecting the command and it’s output is as easy as this: ipconfig /all | clip will pipe the results of ipconfig into the clipboard, […]