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

23
votes
2answers
958 views

Is there a way to loop through Windows 8 Apps and remove them all?

Windows apps are annoying and I would like to remove them. Been playing around with Powershell and scripting and I wanted to know if there was a way I could make Powershell to loop through all the ...
22
votes
7answers
28k 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 ...
22
votes
14answers
29k views

Is there an open source tool to map SFTP connections as a Windows mapped drive? [closed]

I know there are many commercial products that accomplish this task, but I'm looking for something like SSHFS but for Windows systems, which is open source. WinSCP FAQ points to the the KeepUpTODate ...
22
votes
7answers
31k views

How can you know what is w3wp.exe doing? (or how to diagnose a performance problem)

I'm having a performance problem in a site we've made, and I'm not exactly sure how to start diagnosing it. The short description is: We have a very small site (http://hearablog.com) with very little ...
22
votes
5answers
16k 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 ...
21
votes
13answers
175k 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 ...
21
votes
5answers
156k views

In Windows, using the command line, how do you check if a port is open?

I want to see if traffic gets through on a specific port on another machine. Is there a simple way to test for this?
21
votes
8answers
1k views

What benefits are there to running a 64-bit Operating System?

I would like to hear community opinions on reasons to switch, to utilise, or when one should consider a x64 platform. Plus are there any additional benefits of running 64-bit Windows 7? over 64-bit ...
21
votes
2answers
51k views

How to grant network access to LocalSystem account?

How do you grant access to network resources to the LocalSystem (NT AUTHORITY\SYSTEM) account? Background When accessing the network, the LocalSystem account acts as the computer on the network: ...
21
votes
5answers
19k 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: ...
20
votes
4answers
2k views

How does Windows handle program dependencies?

I have used Linux for quite a while, and I always wondered how Windows was able to handle the programs depedencies like apt-get, aptitude, Pacman, yum and other package managers are able to. ...
20
votes
3answers
5k 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 ...
19
votes
16answers
8k views

What are good tools to show disk usage (for Windows)? [closed]

I like to use TreeSize and WinDirStat. What else is out there, and why should I use it?
19
votes
4answers
62k 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 :- ...
19
votes
8answers
54k views

SQL Server 2008 Express - “Best” backup solution?

What backup solutions would you recommend when using SQL Server 2008 Express? I'm pretty new to SQL Server, but as I'm coming from an MySQL background I thought of setting up replication on another ...
19
votes
5answers
25k 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?
19
votes
8answers
848 views

How do I become a scripting guy?

I am a fairly new Windows Systems Administrator. I have done some basic batch files and some other scripting. I would like to know what path I should take to become a better scripter. What language ...
18
votes
6answers
2k views

Bad to be logged in as admin all the time?

At the office where I work, three of the other members of the IT staff are logged into their computers all the time with accounts that are members of the domain administrators group. I have serious ...
18
votes
2answers
6k views

What is Group Policy and how does it work?

This is a Canonical Question about Active Directory Group Policy Basics What is Group Policy? How does it work and why should I use it? Note: This is a Question & Answer to new ...
18
votes
8answers
51k views

Should you disable page file with SSD?

I've been reading this question, and it has a lot of great information. But assuming you have more than enough ram, I think page file should be disabled on SSD to extend the life time. I know you ...
18
votes
4answers
25k 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?
18
votes
2answers
2k views

Is there a Windows equivalent of Unix 'CPU steal time'?

In order to assess performance monitoring accuracy on virtualization platforms, the CPU steal time has become an increasingly relevant metric - see EC2 monitoring: the case of stolen CPU for an ...
18
votes
4answers
25k 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?
18
votes
4answers
20k views

How do I tell if my Windows server is swapping?

I'm using Process Explorer to monitor my windows server while it reconstructs some data. It's primarily a CPU intensive process, but I want to make sure it's not swapping. How can I tell if it is ...
18
votes
3answers
864 views

How do I delete this orphaned Active Directory computer object (preferably with PowerShell)?

I'm working from a Windows 7 workstation, with PowerShell v2.0, and trying to delete a particular (orphaned?) object from the LostAndFound container in a 2008 R2 FL forest and domain with the Active ...
17
votes
13answers
46k views

How to get a list of drive letters on a system through a windows shell (bat, cmd)?

How do I get a list of drive letters and their associated labels on a windows system through a bat file?
17
votes
11answers
945 views

Windows desktop virutalization instead of replacing work stations

I'm head of the IT department at the small business I work for, however I am primarily a software architect and all of my system administration experience and knowledge is ancillary to software ...
17
votes
5answers
144k views

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

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 ...
17
votes
8answers
16k views

How to send ctrl+alt+del using Remote Desktop

I need to change the local admin password on a remote PC using a Remote Desktop Connection. I would normally do this by pressing ctrl+alt+del and selecting the change password option. But I can't send ...
17
votes
5answers
1k views

What are the “to-do” on protecting Windows server facing the web?

I currently begin to deploy Windows servers facing the web. And I would like to know what are you way of protecting your servers ? What softwares are you using ? On Linux, i'm using Fail2ban to ...
17
votes
12answers
13k views

Is there an equivalent of SU for Windows

Is there a way (when logged in as an administrator, or as a member of the administrators group) to masquerade as a non-privileged user? Especially in an AD environment. e.g., in the Unix world I ...
17
votes
5answers
12k views

Does fail2ban do Windows?

Can anyone recommend a fail2ban-like tool for a Windows OS? I've got a couple of Windows Media servers that get hammered with brute force authentication attempts. I would like to plug these ...
17
votes
6answers
31k views

Google Chrome: passthrough Windows authentication

The I.T. dept is considering allowing installation and automated deployment of Google Chrome browser to 100+ desktops. One of the requirements is for domain credentials to be passed through. The ...
17
votes
3answers
30k 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 ...
17
votes
3answers
28k 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 ...
17
votes
10answers
21k views

Setting Up Git Repository on Remote Windows Server?

I have a windows server which I can access locally or remotely over the internet through remote desktop connection, etc. I want to set up a git repository (something similar to "trunk" in ...
16
votes
9answers
20k views

In windows, how to mount folder as a drive

I have some folder, say C:\foo I want to mount as drive M:\ In linux I would do this with a loop device.
16
votes
4answers
484 views

Starting a branch office on the other side of the world

Going to cut right to the point on this question, as I'm after as diverse range of solutions as possible so don't want to effect any opinions with the question too much. Client is a UK based ...
16
votes
3answers
48k views

What are the IUSR and IWAM accounts for in IIS?

I'm looking for a good explanation of the IUSR and IWAM accounts used by IIS to help me better configure our hosting environment: Why are they there? What's the difference between them? Do the names ...
16
votes
3answers
13k views

How do you manage Java in your Windows/Active Directory environment?

Like I suppose a lot of people, we have a Windows/Active Directory environment and a lot of internal line of business apps that require Java. Our experience is that Java does not play nice in such a ...
16
votes
2answers
2k views

Is there a specific name for the “.\” (dot-slash) shorthand used to log onto a Windows machine?

I guess the title just about says it all. And yes, .\, not that obsolete \. thing. :) For those who don't know, .\ is a shorthand way of saying "this computer"*see "footnote" in Windows at a logon ...
16
votes
3answers
2k views

Troubleshooting Network Speeds — The Age Old Inquiry

I'm looking for help with what I'm sure is an age old question. I've found myself in a situation of yearning to understand network throughput more clearly, but I can't seem to find information that ...
16
votes
6answers
1k views

VHD network file transfer fails consistently at 4GB

This issue has been extremely frustrating for us: when transferring a large VHD (virtual hard disk) file from a Windows 7 machine over the network to a physical Windows Server 2008 machine at our ...
15
votes
17answers
2k views

Advice and tips for a junior sysadmin straight out of college?

I've recently graduated and have got a job at a fast-growing dedicated/VPS hosting company as a junior sysadmin. I'd like to know any tips or advice you more senior sysadmins have, e.g. what ...
15
votes
8answers
1k views

What are some good, free “virtual machine” apps? [closed]

I've been out of the virtual machine market for a while. Back in 2005, I used Microsoft Virtual PC 2004 (not free) and the current version of VMWare (not free). What are some good, free solutions? ...
15
votes
9answers
54k views

Any way to find unused IP addresses on my network?

How can I locate unused IP addresses on my network? The DHCP server keeps assigning the same address and I need a different IP address to test my application with. The software would need to run on ...
15
votes
6answers
30k 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 ...
15
votes
4answers
20k views

How can I determine my user account's OU in a Windows domain?

Is there any way (short of getting an active directory browser) to view my OU while logged in to the domain?
15
votes
2answers
13k views

hosts file ignored, how to troubleshoot?

The hosts file on Windows computers is used to bind certain name strings to specific IP addresses to override other name resolution methods. Often, one decides to change the hosts file, and discovers ...
15
votes
3answers
28k views

Network Service account accessing a folder share

I have a simple scenario. There's an application on ServerA that runs under the built-in Network Service account. It needs to read and write files on a folder share on ServerB. What permissions do ...