Message Board

What's your say ??? Send Message Here.
--------------------------------------------------------------
Showing posts with label Windows Server 2008 R2. Show all posts
Showing posts with label Windows Server 2008 R2. Show all posts

Tuesday, May 14, 2013

Why Windows Kernel Slower is Than Other OS – Anonymous Microsoft Dev Says

Bookmark and Share

Why Windows Kernel Slower is Than Other OS – An Anonymous Microsoft Dev Says

Hello Friends,

Do you ask a common questions all the time that Why Windows is slow ? or Why my PC is slowing down after some days even if there is very minimum apps or file in my PC ? This is the regular case whether you use Laptop, Desktop or High end / High configuration Computer.

Yes this is the common question, that everyone asks on computing. As a IT Pro We face this question daily, and a major headache and challenge in the profession. But there is no specific answers from any IT Pro or from Microsoft. The answer may be many or may be one ? But what is the real/true reason behind it is still unknown and to be found out. There are many discussions on the internet and on offline. Few days ago there was a long discussion on CNET (Why do all Window systems slow down over time?). But have may reasons at last.

The Design and Development of the Windows OS is questionable many a times, in this scenario. Comparing to other OS, it is true that Windows is Slower than other (Linux, Mac etc.) in many cases.

Here is the recent post by an anonymous Microsoft developer, describing the causes of the issue from the development point of view.

The post was 1st published on (Microsoft dev explained in a comment) Hacker News, (then deleted, and reposted on Zorinaq.com). Just read through it to know more, why Windows “is indeed slower than other operating systems in many scenarios, and the gap is worsening”.

SlowerWindows

--------------------Read the Full post below-------------------------------

"I Contribute to the Windows Kernel. We Are Slower Than Other Operating Systems. Here Is Why."

I was explaining on Hacker News why Windows fell behind Linux in terms of operating system kernel performance and innovation. And out of nowhere an anonymous Microsoft developer who contributes to the Windows NT kernel wrote a fantastic and honest response acknowledging this problem and explaining its cause. His post has been deleted! Why the censorship? I am reposting it here. This is too insightful to be lost. [Edit: The anonymous poster himself deleted his post as he thought it was too cruel and did not help make his point, which is about the social dynamics of spontaneous contribution. However he let me know he does not mind the repost at the condition I redact the SHA1 hash info, which I did.] [Edit: A second statement, apologetic, has been made by the anonymous person. See update at the bottom.]

"""

I'm a developer in Windows and contribute to the NT kernel. (Proof: the SHA1 hash of revision #102 of [Edit: filename redacted] is [Edit: hash redacted].) I'm posting through Tor for obvious reasons.

Windows is indeed slower than other operating systems in many scenarios, and the gap is worsening. The cause of the problem is social. There's almost none of the improvement for its own sake, for the sake of glory, that you see in the Linux world.

Granted, occasionally one sees naive people try to make things better. These people almost always fail. We can and do improve performance for specific scenarios that people with the ability to allocate resources believe impact business goals, but this work is Sisyphean. There's no formal or informal program of systemic performance improvement. We started caring about security because pre-SP3 Windows XP was an existential threat to the business. Our low performance is not an existential threat to the business.

See, component owners are generally openly hostile to outside patches: if you're a dev, accepting an outside patch makes your lead angry (due to the need to maintain this patch and to justify in in shiproom the unplanned design change), makes test angry (because test is on the hook for making sure the change doesn't break anything, and you just made work for them), and PM is angry (due to the schedule implications of code churn). There's just no incentive to accept changes from outside your own team. You can always find a reason to say "no", and you have very little incentive to say "yes".

There's also little incentive to create changes in the first place. On linux-kernel, if you improve the performance of directory traversal by a consistent 5%, you're praised and thanked. Here, if you do that and you're not on the object manager team, then even if you do get your code past the Ob owners and into the tree, your own management doesn't care. Yes, making a massive improvement will get you noticed by senior people and could be a boon for your career, but the improvement has to be very large to attract that kind of attention. Incremental improvements just annoy people and are, at best, neutral for your career. If you're unlucky and you tell your lead about how you improved performance of some other component on the system, he'll just ask you whether you can accelerate your bug glide.

Is it any wonder that people stop trying to do unplanned work after a little while?

Another reason for the quality gap is that that we've been having trouble keeping talented people. Google and other large Seattle-area companies keep poaching our best, most experienced developers, and we hire youths straight from college to replace them. You find SDEs and SDE IIs maintaining hugely import systems. These developers mean well and are usually adequately intelligent, but they don't understand why certain decisions were made, don't have a thorough understanding of the intricate details of how their systems work, and most importantly, don't want to change anything that already works.

These junior developers also have a tendency to make improvements to the system by implementing brand-new features instead of improving old ones. Look at recent Microsoft releases: we don't fix old features, but accrete new ones. New features help much more at review time than improvements to old ones.

(That's literally the explanation for PowerShell. Many of us wanted to improve cmd.exe, but couldn't.)

More examples:

  • We can't touch named pipes. Let's add %INTERNAL_NOTIFICATION_SYSTEM%! And let's make it inconsistent with virtually every other named NT primitive.
  • We can't expose %INTERNAL_NOTIFICATION_SYSTEM% to the rest of the world because we don't want to fill out paperwork and we're not losing sales because we only have 1990s-era Win32 APIs available publicly.
  • We can't touch DCOM. So we create another %C#_REMOTING_FLAVOR_OF_THE_WEEK%!
  • XNA. Need I say more?
  • Why would anyone need an archive format that supports files larger than 2GB?
  • Let's support symbolic links, but make sure that nobody can use them so we don't get blamed for security vulnerabilities (Great! Now we get to look sage and responsible!)
  • We can't touch Source Depot, so let's hack together SDX!
  • We can't touch SDX, so let's pretend for four releases that we're moving to TFS while not actually changing anything!
  • Oh god, the NTFS code is a purple opium-fueled Victorian horror novel that uses global recursive locks and SEH for flow control. Let's write ReFs instead. (And hey, let's start by copying and pasting the NTFS source code and removing half the features! Then let's add checksums, because checksums are cool, right, and now with checksums we're just as good as ZFS? Right? And who needs quotas anyway?)
  • We just can't be fucked to implement C11 support, and variadic templates were just too hard to implement in a year. (But ohmygosh we turned "^" into a reference-counted pointer operator. Oh, and what's a reference cycle?)

Look: Microsoft still has some old-fashioned hardcore talented developers who can code circles around brogrammers down in the valley. These people have a keen appreciation of the complexities of operating system development and an eye for good, clean design. The NT kernel is still much better than Linux in some ways --- you guys be trippin' with your overcommit-by-default MM nonsense --- but our good people keep retiring or moving to other large technology companies, and there are few new people achieving the level of technical virtuosity needed to replace the people who leave. We fill headcount with nine-to-five-with-kids types, desperate-to-please H1Bs, and Google rejects. We occasionally get good people anyway, as if by mistake, but not enough. Is it any wonder we're falling behind? The rot has already set in.

"""

Edit: This anonymous poster contacted me, still anonymously, to make a second statement, worried by the attention his words are getting:

"""

All this has gotten out of control. I was much too harsh, and I didn't intend this as some kind of massive exposé. This is just grumbling. I didn't appreciate the appetite people outside Microsoft have for Kremlinology. I should have thought through my post much more thoroughly. I want to apologize for presenting a misleading impression of what it's like on the inside.

First, I want to clarify that much of what I wrote is tongue-in-cheek and over the top --- NTFS does use SEH internally, but the filesystem is very solid and well tested. The people who maintain it are some of the most talented and experienced I know. (Granted, I think they maintain ugly code, but ugly code can back good, reliable components, and ugliness is inherently subjective.) The same goes for our other core components. Yes, there are some components that I feel could benefit from more experienced maintenance, but we're not talking about letting monkeys run the place. (Besides: you guys have systemd, which if I'm going to treat it the same way I treated NTFS, is an all-devouring octopus monster about crawl out of the sea and eat Tokyo and spit it out as a giant binary logfile.)

In particular, I don't have special insider numbers on poaching, and what I wrote is a subjective assessment written from a very limited point of view --- I watched some very dear friends leave and I haven't been impressed with new hires, but I am *not* HR. I don't have global facts and figures. I may very well be wrong on overall personnel flow rates, and I shouldn't have made the comment I did: I stated it with far more authority than my information merits.

Windows and Microsoft still have plenty of technical talent. We do not ship code that someone doesn't maintain and understand, even if it takes a little while for new people to ramp up sometimes. While I have read and write access to the Windows source and commit to it once in a while, so do tens and tens of thousands of other people all over the world. I am nobody special. I am not Deep Throat. I'm not even Steve Yegge. I'm not the Windows equivalent of Ingo Molnar. While I personally think the default restrictions placed on symlinks limited their usefulness, there *was* a reasoned engineering analysis --- it wasn't one guy with an ulterior motive trying to avoid a bad review score. In fact, that practically never happens, at least consciously. We almost never make decisions individually, and while I maintain that social dynamics discourage risk-taking and spontaneous individual collaboration, I want to stress that we are not insane and we are not dysfunctional. The social forces I mentioned act as a drag on innovation, and I think we should do something about the aspects of our culture that I highlighted, but we're far from crippled. The negative effects are more like those incurred by mounting an unnecessary spoiler on a car than tearing out the engine block. What's indisputable fact is that our engineering division regularly runs and releases dependable, useful software that runs all over the world. No matter what you think of the Windows 8 UI, the system underneath is rock-solid, as was Windows 7, and I'm proud of having been a small part of this entire process.

I also want to apologize for what I said about devdiv. Look: I might disagree with the priorities of our compiler team, and I might be mystified by why certain C++ features took longer to implement for us than for the competition, but seriously good people work on the compiler. Of course they know what reference cycles are. We're one of the only organizations on earth that's built an impressive optimizing compiler from scratch, for crap's sake.

Last, I'm here because I've met good people and feel like I'm part of something special. I wouldn't be here if I thought Windows was an engineering nightmare. Everyone has problems, but people outside the company seem to infuse ours with special significance. I don't get that. In any case, I feel like my first post does wrong by people who are very dedicated and who work quite hard. They don't deserve the broad and ugly brush I used to paint them.

P.S. I have no problem with family people, and want to retract the offhand comment I made about them. I work with many awesome colleagues who happen to have children at home. What I really meant to say is that I don't like people who see what we do as more of a job than a passion, and it feels like we have a lot of these people these days. Maybe everyone does, though, or maybe I'm just completely wrong.

Courtesy: http://blog.zorinaq.com/?e=74

---------------------------------------------------------------------

Posted on this blog by: bcdalai

Friday, June 1, 2012

RUN Commands in Windows Server 2008 / 2008 R2

Bookmark and Share
Applies To: Windows Server 2008, Server 2008 R2 or later. For more info read the e-book: Windows Commands Guide 2016
APPLICATION / TOOL COMMAND
Security Configuration Wizard scw
Security Configuration Wizard viewer scwviewer
Server Manager compmgmtlauncher
Share and Storage Management storagemgmt.msc
Storage Explorer storexpl.msc
Terminal Service Manager tsadmin.msc
Terminal Services Configuration tsconfig.msc
Windows Firewall with Advanced Security wf.msc
Windows Memory Diagnostic Tool mdsched
Windows Server Backup wbadmin.msc

Find more info, read the e-book: Windows Commands Guide 2016

Friday, March 11, 2011

Download Windows 7 SP1 and Server 2008 R2 SP1 RTM

Bookmark and Share

Windows 7 SP1 and Server 2008 R2 SP1 RTM

Microsoft has released Service Pack 1 (RTM) for Windows 7 and Windows Server 2008 R2 to the End user today. Below are the direct download links for a common man to download and install the service pack on their computer.

Windows 7 SP1 is having few security updates, stability updates, RemoteFX for improved 3-D graphical experience. It will also have the updates released for Windows 7 after the final release. Read this article: http://bit.ly/dQ2XfZ

Win7SP1

It contain all the hotfixes and updates  that were released for Windows 7 and Server 2008 R2 up to now.

Download links to Windows 7 / Server 2008 R2 SP1:

For 32-bit system:

Download SP1 RTM EXE (32-bit) (Approx. 540 MB)

For 64 bit system:

Download SP1 RTM EXE (64-bit) (Approx. 900 MB)

Download the full package with 32-bit and 64-bit (ISO):

Download SP1 RTM ISO (32-bit & 64-bit) (Approx. 1950 MB)

 

Deployment Guide for Windows Server 2008 R2 with SP1 and Windows 7 with SP1:

http://technet.microsoft.com/hi-in/library/ff817650(en-us,WS.10).aspx

Saturday, February 5, 2011

Creating custom RUN Command for your Favorite Apps

Bookmark and Share
Creating custom RUN Command for your Favorite Apps

This tricks help you to create custom Run commands for your favorite applications or software. so that you can run that app from RUN.

Here are the steps for doing this:
  1. Open Registry Editor (from Start Menu > RUN and type regedit then press Enter):

    Go to the location:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\

  2. Create a new Key and name it as per exact executable file name of your app (example

    “windbg.exe" file for "Debugging Tools for Windows (x86)"). Remember to add .exe in the

    key name. The key name must be same as the app's executable name to avoid confusion.

  3. Then in the right pane change the value of the default string value named as "Default", to

    the address of the app's installation folder. The app's address must be direct and not be

    with environment variables. Example: C:\Program Files\Debugging Tools for Windows

    (x86)\windbg.exe

  4. And create another new string named “Path” and changed the value to the location of the

    app. Example: C:\Program Files\Debugging Tools for Windows (x86)\

  5. Then close registry editor and issue the command in the RUN. These commands may not

    be executed from Command Prompt.
Screenshot:
CustomCommands

This command is included in the tips and tricks section of the eBook Windows Command Guide. Also you can download this eBook from here: http://1drv.ms/1mDyZC9. Commands for the third-party apps can be found in the APPENDIX-A14 of this eBook.

Applies To: All version of Microsoft Windows, specifically from Windows XP or higher. May work on previous version.

bcdalai
@bcdalai2020

Saturday, August 14, 2010

The computer screen dims after resume from Hibernation

Bookmark and Share

The computer screen dims after resume from hibernation in Windows 7



This problem is related to Hibernation on Windows 7 PC and Laptops.
Customers running the Windows 7 client have reported issues in which they are unable to resume activity after their computer goes into hibernation.

According to Microsoft in some cases, the computer screen will dim after the users log on to resume from hibernation.

This issue is related specifically to Windows 7 and may be on Windows Server 2008 R2. Source: KB982635.

Condition of the issue:
  • You have a computer that is running Windows 7.
  • You configure the power button to be used for hibernation on the computer.
  • You change the setting of the Password protection on wake up setting to the Require a password (recommended) option.
  • The computer is put into hibernation.
  • You press the power button to resume the computer from hibernation. You are prompted to enter your user account credentials.
  • The computer is put into hibernation again while you try to log on to the computer.
  • For example, the computer is put into hibernation because of low power or because the power button is pressed by mistake.
  • You press the power button to resume the computer from hibernation again.
In this situation, the computer screen dims after you log on to resume from hibernation.

Cause: This issue occurs because two threads try to fade out the monitor at the same time.

Workaround: For Windows 7 and for Windows Server 2008 R2
To work around this issue, log on and then log off the computer.

Resolution:
Hotfix download available for only for Windows 7 (x86).

Request for hotfix HERE. Or Download it here.

Thursday, August 5, 2010

Enable or Disable Windows Update Auto Restart

Bookmark and Share

Stop and Disable Windows Update Auto Restart or Reboot

Auto-Restart dialog box

After downloading and installing an update from Windows Update, a window constantly pops up nagging you to restart, and even counting down to an automatic restart.
In Windows 7, Windows Vista and Windows XP, after installing downloaded updates via Windows Update manually or scheduled Automatic Updates automatically, the system will ask to auto-restart to apply all the updates.

Windows 7 has the option to allow users to postpone or delay the restart, the computer will still automatically reboot sometime later, if the updates required reboot to complete the installation.
If the system is has running an important task and cannot be restarted right now then you may stop rebooting after the updates are installed. You can change this feature of Auto-restart/Auto-reboot in group policy so that you will not be interrupted while working.

Click image to enlarge


Local Group Policy Editor

Here are the procedure to enable / disable the auto-restart feature:
Group Policy setting:
  1. Click Start -> Run
  2. Enter “gpedit.msc”
  3. Go to Local Computer Policy -> Computer Configuration -> Administrative Templates –> Windows Components -> Windows Update
  4. Double-click on “No auto-restart for scheduled Automatic Update installation”
  5. Disable or Enable it.
  6. Reboot the computer.
Click image to enlarge
No auto-restart for scheduled Automatic Update installation

You can also change the default setting of “Re-prompt for restart with scheduled installations” to remind you once a day, or so if you can still stand these pop-ups.

Photobucket
Re-prompt for restart with scheduled installations

Registry Editor setting:
This setting can be changed through registry with the following registry key and value.
  1. Run Registry Editor (RegEdit). Type regedit in RUN box from start menu.
  2. Go to Navigate to the following registry key: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
  3. Change the NoAutoRebootWithLoggedOnUsers (If the key does not exist, create new one with this name) DWORD (32-bit) Value to 1 to disallow auto-reboot. By default, the value is 0 which allow auto-reboot.
  4. Close registry editor.
When the policy is enabled, Automatic Updates will wait for the computer to be restarted by any user who is logged on, and not restart automatically. And Windows will not notify users that a restart is required to apply the updates.

Note:
This article is applicable for: Windows XP, Windows Server 2003, Vista, Server 2008,  Windows 7,  Server 2008 R2 and later.
References:
http://support.microsoft.com/kb/328010

Sunday, September 30, 2007

Microsoft Windows OS Release Dates

Bookmark and Share
-------------------------------------------------------
Microsoft Windows OS Release Dates
-------------------------------------------------------
Last updated: June 24, 2010
{OS Name}- {Release Date}-{OS Type}-{Platform}
1. {OS/2 1.0}- {1987}-{16-bit}-{Non-GUI based}
2. {OS/2 1.1}- {1988}-{16-bit}-{Non-GUI based}
3. {OS/2 1.2}- {1989}-{16-bit}-{Non-GUI based}
4. {OS/2 2.0}- {1992}-{16-bit}-{Non-GUI based}
5. {Windows 1.0/1.01}- {November 20, 1985}-{16-bit}-{Desktop}
6. {Windows 2.0}- {December 9, 1987}-{16-bit}-{Desktop}
7. {Windows 3.0}- {May 22, 1990}-{16-bit}-{Desktop}
8. {Windows 3.1}- {April 6, 1992}-{16-bit}-{Desktop}
9. {Windows for Workgroups 3.1}- {October 27, 1992}-{16-bit}-{Server}
10. {Windows NT 3.1 & 3.1 Advance Server}- {July 27, 1993}-{32-bit}-{Server}
11. {Windows for Workgroups 3.11}- {November 8, 1993}-{16-bit}-{Server}
12. {Windows NT 3.5 Server & Workstation}- {September 21, 1994}-{32-bit}-{Server}
13. {Windows NT 3.51 Server & Workstation}- {May 30, 1995}-{32-bit}-{Server}
14. {Windows 95}- {August 24, 1995}-{16 & 32-bit}-{Desktop}
15. {Windows NT 4.0 Server & Workstation}- {August 24, 1996}-{32-bit}-{Server}
16. {Windows 98}- {June 25, 1998}-{16 & 32-bit}-{Desktop}
17. {Windows 98 SE}- {May 9, 1999}-{16 & 32-bit}-{Desktop}
18. {Windows 2000 Prof. & Server}-{February 17, 2000}-{32-bit}-{Server & Desktop}
19. {Windows Me}- {September 14, 2000}-{16 & 32-bit}-{Desktop}
20. {Windows XP Home & Professional}- {October 25, 2001}-{32-bit}-{Desktop}
21. {Windows Server 2003}- {April 25, 2003}-{32 & 64-bit}-{Server}
22. {Windows Server 2003 R2}- {December 2005}-{32 & 64-bit}-{Server}
23. {Windows XP Media Center Edition 2003}- {December 18, 2003}-{32-bit}-{Multimedia Desktop}
24. {Windows XP Media Center Edition 2005}- {October 12, 2004}-{32-bit}-{Multimedia Desktop}
25. {Windows XP Professional x64 Edition}- {April 25, 2005}-{64-bit}-{Server & Desktop}
26. {Windows Fundamentals for Legacy PCs (WinFLP)(XP SP2)}- {June 08, 2006}-{32-bit}-{for Thin-Client}
27. {Windows Vista (Business versions}-{November 30, 2006}-{32 & 64-bit}-{Desktop}
28. {Windows Vista (Desktop versions}-{January 30, 2007}-{32 & 64-bit}-{Desktop}
29. {Windows Home Server}- {August 2007}-{32 & 64-bit}-{Server on Home Desktop}
30. {Windows Server 2008}- {February 27, 2008}-{32 & 64-bit}-{Server}
31. {Windows 7}- {Oct 22, 2009}-{32 & 64-bit}-{Desktop}
32. {Windows Server 2008 R2}- {Oct 22, 2009}-{64-bit only}-{Server}


Windows Timelines

Picture Source: Wikipedia, Article Link

Download PDF version of this article:
http://www.box.net/shared/vlc8ozhush

Author: bcdalai