Windows is the brand name for a series of operating systems from Microsoft. Instead of tagging a post "Windows", try to use a more specific tag, like windows-7, windows-xp or windows-server-2008-r2 .

learn more… | top users | synonyms

11
votes
7answers
5k views

I would like to start multiple computers at once, What software do I use?

I have turned on Wake On Lan on all of the BIOSes in the PCs and I have a simple batch file that runs a free command wolcmd.exe Wake on Lan Command Line The syntax is as follows: wolcmd [mac ...
11
votes
1answer
56k views

Where/how does Windows store the data in the event logs?

We run some financial systems that log error messages to the system logs. I need to find out if we can clean these error messages from a PCI DSS point of view. I am specificaly interested in the ...
11
votes
5answers
3k views

What's the difference between .cmd and .bat files?

Just curious. "Cool" people in our company always use *.cmd while no one was able to explain the difference to me.
11
votes
1answer
4k views

How can I remove/uninstall an orphaned service?

There are times when Windows Services are installed and for various reasons, that hopefully are not important to the answer, the service no longer has the installer attached to it. Therefore, this ...
11
votes
1answer
32k views

CNAME record/alias in windows hosts file?

Is it possible to enter some sort of CNAME record or alias in the windows hosts file (C:\Windows\System32\drivers\etc\hosts)? Basically I want to forward all requests made to host A to host B, ...
11
votes
8answers
2k views

Expire Files In A Folder: Delete Files After x Days

I'm looking to make a "Drop Folder" in a windows shared drive that is accessible to everyone. I'd like files to be deleted automagically if they sit in the folder for more than X days. However, it ...
11
votes
4answers
2k views

PowerShell DSC copy from network share

I am trying to use PowerShell DSC to copy folder contents from a network share. Here is the code: Configuration TestSetup { Node localhost { File Test { SourcePath = ...
11
votes
3answers
904 views

Installing Windows Management Framework 3.0 basically destroyed WMI, how can I fix it without reinstalling the O.S.?

Related, of course, to this question. Before discovering it was somewhat... dangerous, I installed Windows Management Framework 3.0 on a number of Windows Server 2008 R2 SP1 servers, and WMI got ...
11
votes
4answers
1k views

Windows Domain replication monitoring tool

I am looking for web-based interface GUI, or some kind of monitoring tool that will show replication status for a domain. I know I can use repadmin with various options on the command line to query ...
11
votes
5answers
3k views

What are the practical differences between Interix and Cygwin?

Both Interix and Cygwin appear to provide a Unix-like user environment in Windows. What are the practical differences between the two, in terms of, for example: Unix-like "feel" Performance Package ...
11
votes
6answers
739 views

How to utilize spare workstation drive space for server storage/backup

So, given the fact that you can only get hard drives of about 160GB now for the cheapest price, I find i have a ton of extra drive space on workstations spread throughout my office. I'd like to ...
11
votes
10answers
5k views

How do we avoid the 30-second time limit on starting windows services?

One of the components of my company's product is a Windows service, written in C#. It's dependent on .NET and on a few other libraries, none especially large. It works perfectly when started ...
11
votes
1answer
150 views

Central management of Microsoft licenses

We're in the process of consolidating all our developer systems into a single windows domain and auditing all our internally used software. For Microsoft software is there any tool/tools to allow ...
11
votes
3answers
7k views

Is there a windows equivalent to chroot?

On a *nix system I can use a chroot to isolate 2 processes from each other and from the rest of the system. Is there any similar security system under windows? Or is there any way to prevent 2 ...
11
votes
3answers
3k views

How can I switch an existing set of Subversion repositories to use ActiveDirectory? (svnserve/windows)

I have a set of private Subversion repositories on a Windows Server 2003 box which developers access via SVNServe over the svn:// protocol. Currently we have been using the authz and passwd files for ...
11
votes
2answers
1k views

How do you monitor SSD wear in Windows when the drives are presented as 'generic' devices?

Under Linux, we can monitor SSD wear fairly easily with smartmontools whether the drive is presented as a normal block device or a generic device (which happens when the drive has been hardware RAIDed ...
11
votes
2answers
18k views

What is stored in %Windir%\System32\LogFiles\WMI\RtBackup?

I occasionally notice in Resource Monitor hard disk activity related to ETL files in the folder C:\Windows\System32\LogFiles\WMI\RtBackup. Which process/service creates these ETL files and what is ...
11
votes
2answers
1k views

How to delete system default printer forms?

On Windows there are system default printer forms which can't be deleted from the Print Server Properties dialog. Is there some other way they can be removed? We are never going to use page sizes like ...
11
votes
3answers
19k views

What is the order group policy settings are applied?

So I have been reading the document "Group Policy processing and precedence". I get that policies are applied in the order of local, site, domain, organizational unit, child organizational unit. The ...
11
votes
4answers
10k views

How does Windows decides which DNS Server to use when resolving names?

What algorithm does Windows use to decide which DNS Server it will query in order to resolve names? Let's say I have several interfaces, all active, some with no dns server specified, some told to ...
11
votes
1answer
492 views

Why *do* windows print queues occasionally choke on a print job

Y'know they way windows print queues will occasionally stop working with a print job at the head of the queue which just won't print and which you can't delete? Anyone know whats going on when this ...
11
votes
3answers
1k views

Use Windows DHCP/DHCPv6 server without setting a static address

You cannot set the Windows DHCP/DHCPv6 server to listen on dynamic addresses or all addresses, only static addresses. Is there a technical reason for this limitation? Is there any workaround? My ...
11
votes
2answers
6k views

How do I move Windows Search and Index Service databases to another drive?

On one of our older Windows 2003 Servers we need to run the Indexing Service and Windows Search. The problem is that the windows.edb file has grown quite large. I want to move these and related files ...
10
votes
4answers
406 views

Simulate printers on AD network

I need to create an Active Directory lab that contains printers and test out various printer-related functionality (adding printers in AD, clients attaching to printers, printers, etc) Is there a ...
10
votes
8answers
12k views

How can I mount a hard drive as read-only on Windows XP?

I recently had reason to move a hard drive from a computer that blew up to another computer for the purpose of recovering data. Under the (unfortunate) circumstances, both the donor and the recipient ...
10
votes
9answers
76k views

Windows File and Folder “Attributes” A or C

In Windows Server 2003, in the "Attributes" column of windows explorer, some files have "A" or "C" or "AC" or others. What do these mean?
10
votes
6answers
6k views

What are the popular (free?) options for application deployment?

I manage a small school network with about 150 machines. I am looking for an easy way to deploy software to all the machines without having to visit each one. I've used Symantec Ghost to get the ...
10
votes
7answers
16k views

How often should you defrag a Server?

Have a few servers and they have not been de-fragmented for two years. Is there a standard for what percentage should be fragmented before defragmenting? The servers are Windows 2003.
10
votes
1answer
6k views

How do I stop IIS from starting up when I turn Windows on? [closed]

I am running Windows 7 and I have installed IIS. I do not want IIS to start automatically when I turn on my computer. How do I change this? Is there a setting in IIS manager? I have looked around in ...
10
votes
10answers
43k views

How can I increase the size of a Windows 2003 NTFS partition?

I have a very important server running Windows Server 2003 and my System partition is becoming too small, it's slowing down the machine. I have already tried all the cleaning stuff and transferring ...
10
votes
5answers
6k views

Rename files to empty filename in Windows (Vista)

Vista allows files with empty "first name" (for example, ".svn"). However, when I try to remove the filename of an existing file, leaving the prefix, in Explorer or using cmd's 'rename', I fail. How ...
10
votes
4answers
20k views

How do I see if a port is in use on a windows machine?

I am using Windows XP pro, and I need to know if something is registered on a port. If so how can I tell what is on the port? EDIT What I mean by registered is that I am trying to test a .NET ...
10
votes
8answers
18k views

Get a history of CPU/memory usage

Is there someway to record Task Managers info about CPU and memory usage to examine later? Or an equivalent tool?
10
votes
7answers
1k views

What are the pros/cons of blocking a program from running in %appdata%, %temp%, etc.?

While researching ways to prevent CryptoLocker, I saw a forum post that advised using Group Policy Objects (GPO) and/or antivirus software to block run access in the following locations: %appdata% ...
10
votes
2answers
3k views

Can someone please explain Windows Service Principle Names (SPNs) without oversimplifying?

I have wrestled with service principle names a few times now and the Microsoft explanation is just not sufficient. I am configuring an IIS application to work on our domain and it looks like some of ...
10
votes
2answers
938 views

Can I completely remove the Windows DNS in favour of BIND9 in an AD network?

I would like to remove the DNS feature of Windows Domain Controllers and point the DNS servers to our BIND9 servers. I know it's possible to setup coexistence but this requires a number of extra ...
10
votes
2answers
9k views

What does exactly mean the “Automatic (Delayed)” mode for a Windows service?

Sorry for the approximative translation from french. So I understand pretty well what means : - disabled - manual - automatic But what does mean automatic (delayed) ? - Does Windows wait for ...
10
votes
5answers
1k views

Prevent execution of Windows executables

Is there any way to tell Windows (XP and above) not to execute files (*.exe files), which are present in drives/folders other than certain folders, that I mention? In short I want executables from ...
10
votes
2answers
8k views

Best way to add HKCU keys and values for all existing users and all new users?

I need to add HKCU keys and values to all machines in a specific OU, for all existing user profiles and to the default profile. What's the best way to approach this? I could enumerate and iterate ...
10
votes
1answer
874 views

Workaround for when windows scheduled tasks fails when user changes their password

When a users password changes that users scheduled tasks will fail unless you change the password associated with that task. This is a problem for me as I have a small script that gets run by a ...
10
votes
3answers
13k views

\Program Files vs. \Program Files (x86) in 64-Bit Windows

What are reasons to have separate folders besides to easily distinguish 32 bit images from 64 bit images?
10
votes
2answers
5k views

What Are The Best Practices For Business Folder Structure?

We've tended in the past towards having departmental folders (Sales, Marketing, etc) on a single share and then adding folders below these ad-hoc as and when they're needed. It's gotten a bit messy - ...
10
votes
2answers
12k views

How to force Windows to prompt for credentials while accessing share

By default when I access some computer's share ( typing \\hostname in Windows Explorer ) Windows passes credential of my current user. It prompts for credentials only when current user's credentials ...
10
votes
2answers
11k views

Windows Appending Domain Suffix To All Lookups

I have a reoccurring DNS problem that has been plaguing our users occasionally causing their laptops to appended our companies domain to the end of all DNS queries. The problem only occurs when users ...
10
votes
4answers
3k views

Unlock Windows AD account & assign *temporary* password via command line?

Joe Brown is on the phone. He is locked out of Windows because he has forgotten his password. We could reset his password via Active Directory Users and Computers, but ADUC is very annoyingly ...
10
votes
3answers
10k views

Microsoft Windows - Install Updates And Restart (instead of Install and Shutdown)

I have a Windows box I would like to manage remotely. When I logged in this morning, the Start menu shows a ! next to the Shutdown button, notifying me there are updates to install. But the only ...
10
votes
5answers
13k views

How do I passively monitor the Windows Event Log?

How can I monitor the Windows Event Log remotely such that I will be informed automatically when certain events occur? There are plenty of active monitoring solutions, but they require human ...
10
votes
5answers
25k views

How to configure DNS on Windows with multiple NICs?

I have two network adapters on my PC each connected to a different network (one LAN and one Wireless). I set up routing tables to have some of the addresses routed to the LAN and others to the ...
10
votes
4answers
6k views

Fastest Large Directory/Folder Delete Method

I need to delete a large directory on one of our Windows 2003 servers containing around 1TB of data. Would the quickest way to delete this be to use cmd > rmdir?
10
votes
2answers
6k views

Huge amount of Standby Memory in Resource Monitor

We have 16GB of memory in our server and I noticed that around 10GB is marked as "standby" memory in the Resource Monitor. Do I need to worry about the big amount of standby memory? Is there ...