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 (1)

35
votes
5answers
197k views

Resolve host name from IP address

I'm looking for a command line tool which gets an IP address and returns the host name, for Windows.
35
votes
3answers
131k views

Mount Remote CIFS/SMB Share as a Folder not a Drive Letter

Is there any way to mount a remote CIFS/SMB/SAMBA share as a folder/directory and not as a drive letter. For example, I want this map: \\Server\ShareName -> C:\Folder\ShareName Instead of the usual ...
34
votes
10answers
145k views

Windows server last reboot time

How can I find a Windows server's last reboot time, apart from 'net statistics server/workstation'?
34
votes
5answers
56k views

How can I automatically restart a Windows service if it crashes?

I have a Windows service that exits unexpectedly every few days. Is there a simple way to monitor it to make sure it gets restarted quickly if it crashes?
33
votes
7answers
63k views

How to find memory usage of individual Windows services?

Task Manager shows the overall memory usage of svchost.exe. Is there a way to view the memory usage of individual services? Note this is similar to http://serverfault.com/questions/2786/finegrain-...
33
votes
6answers
164k views

How to delete cached temporarily credentials for a network share on a Windows machine without rebooting or logging off [duplicate]

This is more of a curiosity then a real problem, I am just to lazy to reboot or log off my laptop. I have connected to a network share on a Windows server with domain credentials from a non-domain ...
33
votes
6answers
75k views

Is there a global, persistent CMD history?

Sometimes I forget how the exact syntax of a CMD command looks and then I would like to search my own CMD history. Clearly, within the same session, you can browse it with the up and down arrow keys ...
33
votes
6answers
29k views

swap partition vs file for performance?

What is better for performance? A partition closer to the inside of the disk will have slower access times, and we must wait for the drive to switch between the OS and swap partitions. On the other ...
32
votes
4answers
35k views

How to convert line breaks in a text file between the Windows and Unix/Linux formats?

How do I convert line breaks in a text file between the Windows and Unix/Linux formats? I have a *nix environment, but that I need to import and export data with the Windows-style line breaks. I ...
32
votes
27answers
7k views

Best Windows remote support / screen sharing tools?

What are the most commonly used remote support / screen sharing tools available? How do they compare, both price- as functionality wise?
32
votes
3answers
3k views

Why are many admins using 'Turn off Automatic Root Certificates Update' Policy?

My company distributes a Windows Installer for a Server based product. As per best practices it is signed using a certificate. In line with Microsoft's advice we use a GlobalSign code signing ...
32
votes
10answers
39k views

Best way to fully update a new installed Windows?

I am wondering, what is the best way to automatically update a new installation of Windows (Windows 7)? When I manually update a new install of Windows 7 SP1, I get about 45 updates. Installing ...
31
votes
8answers
43k views

How to fix PuTTY showing garbled characters?

Connecting from a Windows 7 PC via SSH to an Ubuntu server using PuTTY, I get some screen errors: I.e. it: "Double-draws" the selection inside Midnight Commander (MC). Other characters like line ...
31
votes
4answers
95k views

How can I query my system via command line to see if a KB patch is installed?

I'm looking to find out if a KB is installed via command line.
30
votes
5answers
29k views

Why use Kerberos instead of NTLM in IIS?

This is something that I've never really been able to answer as well as I like: What is the real advantage of using Kerberos authentication in IIS instead of NTLM? I've seen a lot of people really ...
30
votes
2answers
6k views

Why does computer name change require a reboot in Windows?

I understand that changing the host name/computer name for a Windows based machine (Client or Server) requires a reboot. I realize that once a computer name is changed, a pending machine name is ...
30
votes
6answers
5k views

Should I install Windows Management Framework 3.0?

I'm posting this as a BIG CAVEAT to everyone. I know it's not a standard Q&A, but I think this is something every Windows admin should know. There is a very real risk of falling into Big Troubles. ...
30
votes
14answers
77k views

Why does “Loading your personal settings” take forever?

I have come across dozens of user installations of Windows (XP) where, after logging in, the system stays stuck on this screen for a very long time. What are the possible causes? How can I diagnose ...
30
votes
10answers
32k views

Convenient Windows equivalent to tail -f logfile?

Is there some convenient alternative to this on Windows? I always miss this away from Linux. And no I don't consider Cygwin or some other bash port to be "convenient". :) Either a small app that'll ...
30
votes
4answers
51k views

Linux/Windows/Unix/… file names: Which characters are allowed? Which are unescaped?

Which characters are allowed and which of them must be escaped on the command line in different operating systems?
29
votes
4answers
243k views

How to check who is currently logged on to windows workstation from command line?

Environment is in domain, server is Windows Server 2003, workstations have Vista and XP installed. I need the way to check remotely who is currently logged on workstation, preferably from some simple ...
29
votes
6answers
3k views

What are .DS_Store files and why does OSX leave them on Windows shares?

Whenever I access windows shares from OSX 10.5 it leaves .DS_Store files on the remote filesystem. What are they used for, and are they necessary, and can they be prevented from being created?
29
votes
12answers
88k views

Unable to install .net 3.5 on Windows server 2012

I am trying to install .Net 3.5 on Windows Server 2012 and it constantly keeps failing. I am using "Add or Remove Features" and my Internet is already there. I've read that if alternate source couldn'...
29
votes
8answers
21k views

Is there an equivalent to ssh-copy-id for Windows?

Is there any equivalent or port of ssh-copy-id available for Windows? That is, is there an easy way to transfer SSH keys from a local machine to a remote server under Windows? In case it helps, I'm ...
29
votes
2answers
9k views

Disable CPU Scaling in Windows Server 2008 R2

How do you disable CPU power management scaling in Windows Server 2008 R2? After setting the Control Panel, Power Management plan to performance and then rebooting -- CPUID's Cpu-Z still shows the ...
28
votes
13answers
21k views

Do I really need MS Active Directory? [closed]

I manage a shop of arround 30 machines and 2 terminal servers (one production, one standby.) Should I really deploy Active Directory in our network? Are there any really benefits, that could ballance ...
28
votes
11answers
70k views

What is the best windows tool to capture HTTP traffic? [closed]

When you want to capture browser traffic or general windows HTTP traffic what tool do you use?
28
votes
4answers
77k views

Any difference between DOMAIN\username and username@domain.local?

I'm trying to troubleshoot an obscure authentication error and need some background information. Is there any difference between how Windows (and programs like Outlook) process DOMAIN\username and ...
27
votes
12answers
97k views

How do I know if I'm working on a Virtual Machine or not?

Is there a way to know if the Windows machine I'm working on is virtual or physical? (I'm connecting with RDP to the machine. If it's a virtual machine it is working and handled by VMWare).
27
votes
28answers
8k views

What is your list of programs to install to Windows after a fresh install?

I am looking for others' list of program that absolutely must be installed to a fresh install of Windows before going any further. I hope to compile a list here to use as reference for all new ...
27
votes
7answers
2k views

What's the maximum theoretical data transfer throughput of NTFS?

Recently I was at a local user group meeting where the presenter noted that the maximum throughput of the NTFS IO stack was 1 GBps. He substantiated his claim by simultaneously copying two large files ...
27
votes
4answers
92k views

Get directory containing the currently executed batch script

I use %0 in batch file to get the containing directory of the batch file but the result is :- c:\folder1\folder2\batch.bat I want just directory, without batch file name, like this :- c:\folder1\...
27
votes
10answers
109k views

How to take ownership of files from the command line?

Every so often I run into a file that I need to take ownership of. I normally use cacls for changing ntfs permissions, but it doesn't seem to do ownership. Under *nix I would run something like ...
27
votes
12answers
34k views

What's the reverse DNS command line utility?

What's the command to find the name of a computer given its IP address? I always forget what this command is, but I know it exists in Windows and I assume it exists on the *nix command-line.
27
votes
7answers
41k views

Delete Files Older than (x) Days?

What's a good Windows command line option for deleting all files in a given folder older than (n) days? Also note there may be many thousands of these files, so forfiles with a shell to cmd is not a ...
27
votes
18answers
25k views

Alternative Remote Desktop Software

What are good alternatives to the Windows builtin remote desktop client? I have tried Terminals and it is great but I've have run into numerous bugs with the latest release (currently 1.7e). Can ...
27
votes
5answers
104k views

What is a system state backup for?

The windows backup utility comes with an option to backup the system-state. What is this for? Has it a real utility? Can I recover that windows on another machine?
27
votes
2answers
1k views

Why can a and o in samAccountName be replaced with danish å and ø?

A coworker just demonstrated to me that accounts in our test AD was able to authenticate when replacing every a character in their samAccountName with Danish character å (ASCII 134 / å). E.g. ...
27
votes
5answers
4k views

What is svchost and why are multiple instances of it running?

There's six instances running on my desktop, and probably ten on a server I manage. What is this, and is it vital to system function?
27
votes
7answers
14k views

How to diagnose a Windows blue screen?

Sometimes I have to answer support calls responding to PC crashes with blue screens. How can I effectively narrow down the problem giving the information on that screen? What are the most important ...
27
votes
5answers
72k views

How do you free up a port being held open by dead process?

A colleague of mine recently ran into a problem where a process that had supposedly died was still bound to a network port, preventing other processes from binding to that port. Specifically, netstat ...
27
votes
5answers
26k views

With what tool should I format a hard drive as UDF?

(This is a follow-up to "What is the partition id / filesystem type for UDF?") I know two ways to format a hard drive as UDF: Windows Vista or later: "format x: /fs:UDF" (don't use /q ! ) Linux: "...
26
votes
3answers
1k views

Silently uninstall bloatware

The company I work at goes through computers fairly regularly. When we get a new computer, someone has to manually go through and remove all the bloatware that comes with the computer. Right now, I am ...
26
votes
13answers
259k views

How to get a list of all IP addresses (and ideally device names) on a LAN?

Our network gave an error that there was an IP address conflict and I'd like to find what all the device IP addresses are. (I've also had need of that before). (update/clarification:I'm looking for a ...
26
votes
13answers
1k views

How to encourage Windows administrators to pick up scripting? [closed]

When I worked as an administrator in my first job, I was frustrated that our administration processes with Windows servers were a series of point-and-clicks; we could never match the level of ...
26
votes
5answers
28k views

How to zero fill a virtual disk's free space on windows for better compression?

How to zero fill a virtual disk's free space on windows for better compression? I would like a simple open source tool (or at least free) for that. It should probably write an as big as possible file ...
26
votes
9answers
102k views

How can an unauthenticated user access a windows share?

I have a directory shared on my computer, which is part of the domain. Is it possible to set up the share so that a user logged on to a different machine which is not part of the domain can access my ...
26
votes
6answers
64k views

Clear the Recycle Bin For All Users in Windows Server 2008 R2

What is the proper way to clear the recycle bin for all users in Windows Server 2008 R2?
25
votes
3answers
13k views

How are cached Windows credentials stored on the local machine?

How are cached Active Directory domain credentials stored on a Windows client? Are they stored in the local SAM database, thus making them susceptible to the same rainbow table attacks that local user ...
25
votes
1answer
25k views

Remove Setup Bootstrap folder on SQL Server 2008 to free space

Is it "safe" to delete any of the subfolders in C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\ from my drive to free up space? Or is it needed for upgrade/uninstall and other patches? ...