Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Wednesday, 26 April 2017

Install Bash Shell on Windows to Execute Linux Commands from Windows

Install Bash Shell on Windows to Execute Linux Commands from Windows


  • To install Bash,your PC should be running a 64-bit version of Windows 10 Anniversary Update build 14393 or later
  • Now Open Settings -> Update and Security -> For developers
  • Select the Developer Mode radio button

  • Then from Start, search for "Turn Windows features on or off" (type 'turn')
  • Select Windows Subsystem for Linux (beta)

  • Click OK
  • Now Open a PowerShell prompt as administrator and run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux


  • Restart your computer when prompted

Wednesday, 19 October 2016

SCOM 2012 R2 Console crashes after October Windows Update -Hotfix KB3200006

SCOM 2012 R2 Console crashes after October Windows Update


  • The SCOM 2012 R2 Console crashes after installing the Latest October patches.
  • This is know issue and microsft has released a Hotfix KB3200006.
  • https://support.microsoft.com/en-us/kb/3200006.
  • Please downaload the hotfix and install to resolve the Console Crash issue.
  • It affects all OS versions. So you need to install on App OS where there is SCOM 2012 R2 Console irrespective of the UR 

Saturday, 15 October 2016

SCCM 2012 R2 Log File for Windows Update Agent and WSUS Server issues

SCCM 2012 R2 Log File for Windows Update Agent and WSUS Server issues


Windows Update Agent

The following table lists the log files that contain information related to the Windows Update Agent.
Log name
Description
Computer with log file
WindowsUpdate.log
Records details about when the Windows Update Agent connects to the WSUS server and retrieves the software updates for compliance assessment and whether there are updates to the agent components.
Client

WSUS Server

The following table lists the log files that contain information related to the WSUS server.
Log name
Description
Computer with log file
Change.log
Records details about the WSUS server database information that has changed.
WSUS server
SoftwareDistribution.log
Records details about the software updates that are synchronized from the configured update source to the WSUS server database.
WSUS server

Saturday, 10 September 2016

Run Pre Scan to Avoid Windows 10 Upgrade Failures with SCCM 2012 R2

Avoid Windows 10 Upgrade Failures with SCCM 2012 R2

  • Windows 10 Upgrade is the most done work by SCCM today.
  • All most all organizations wants to upgrade from Window 7 to Windows 10.
  • But there comes the challenge the amount of failures with inplace upgrade is huge.
  • This is because of various reason.
  • One thing that all SCCM admin who are planning to upgrade should do is to run a Compatibility Check before doing the actual upgrade
  • What it does is SCAN the PC which is going to be upgraded and check for any conflicts or failures that are predicted during the upgrade.
  • This test helps you identify the failures before the upgrade and can avoid customer frustration.
  • The Command to Run this test is
SETUP.EXE /Auto Upgrade /Quiet /NoReboot /DynamicUpdate Disable /Compat ScanOnly

  • Happy upgrading

Windows 10 Upgrade Failed with Error code 0x80200056 while deploying from SCCM 2012 R2

Windows 10 Upgrade Failed with Error code 0x80200056 while deploying from SCCM 2012 R2


  • Windows 10 Upgrade Pushed from SCCM can fail because of various reasons.
  • You need to read the error code and understand it to further troubleshoot.
  • One of the frequest errors i see while upgrade is Error code "0x80200056"
  • This error means that there was some interuption while u upgrade the OS.
  • Reason couble be user has switched off the Laptop,Or it got restarted because of some power issues, or Network got disconnected.
  • To fix this instruct the user not to turn off or disconnect the PC from network till the upgrade is compelete.This should resolve the issue

Sunday, 24 April 2016

Special Characters that can be used in Windows PowerShell output

Special Characters that can be used in Windows PowerShell output


Special Characters that can be used in Windows PowerShell output are below this will be useful when you want to include these below special characters in your output.

  • `0 -- Null
  • `a -- Alert
  • `b -- Backspace
  • `n -- New line
  • `r -- Carriage return
  • `t -- Horizontal tab
  • `' -- Single quote
  • `" -- Double quote

SCOM 2012 R2 Windows Server 2012 R2 Storage Direct Management Pack

SCOM 2012 R2 Windows Server 2012 R2 Storage Direct  Management Pack


  • Microsoft has released a new Storage Management Pack for Window Server 2012 R2.
  • This management pack supports up to:
    16 Storage Nodes
    12 Storage Pools
    120 File Shares.
  • This Management Pack contains rules to monitor physical disk and enclosure state in storage spaces.
  • Health is calculated by the storage service and is passed to Virtual Machine Manager (VMM) using the Storage Management API (SM-API), and is in turn passed to Operations Manager (OM) through the OM connector for VMM.

  • There are no state or alert visualizations as part of this MP. 
  • All alerts for physical disks and enclosures must be manually closed and any health state impact manually reset.
  • You can see file share and storage pool health on the VMM Fabric Dashboard or you can build your own views in a custom MP. 
  • If OM agent proxy setting is not enabled for file server nodes and VMM server, it needs to be turned on. This can be done from Administration space in OM console.
You can see the Rollup Model below for the MP


You can Download the Management pack from here -->Click here to download

Thursday, 31 March 2016

Known Issues and Troubleshooting for Windows Server Base OS Management pack

Known Issues and Troubleshooting for Windows Server Base OS Management pack


  • Disk Partitions Which Correspond to Mounted Disks Are Not Monitored

Issue: Disk partition discovery is not enabled by default, but when enabled, disk partitions that correspond to mounted disks cannot be monitored properly and will show up as “Not Monitored” in the Operations Console. Management is still provided by way of other means in this management pack, but the disk partition perspective will not work in these instances.
Workaround: There is no workaround currently available. 
  • The “Core Windows Services Rollup” Monitor for Windows Server 2008 Includes Services That It Should Not

Issue: The Core Windows Services Rollup monitoring that exists in all server operating system management packs aggregates the state of a number of monitors that are watching the state of various “core services” and will change state if any one of those services is not running. The Windows Server 2008 version of this monitor includes a monitor for the “Computer Browser Service Health,” which is not accurate because the service is no longer required for the Windows Server 2008 operating system to function properly.
Workaround: The monitor can be safely ignored, but it can also be disabled by overriding it.
  • Remote Desktop (Admin) Not Always Accessible

Issue: There are times when Remote Desktop (Admin) is not accessible.
Workaround: The new Remote Desktop (Admin) functionality of Windows Server 2008 is supported by way of the /admin switch. However, it is available only in Windows Server 2008 and the Windows Vista operating system with SP1.

  • The Console Session Does Not Work in Windows Server 2008
Issue: Attempts to use the /console switch do not work properly.
Workaround: The console session no longer exists in Windows Server 2008. Use of the /console switch will be ignored, and the behavior is the same as a simple Remote Desktop task.

  • Behavior for Accessing the Console Session of Windows Server 2003 Has Changed
Issue: There is a change in behavior for accessing the console session of Windows Server 2003.
Workaround: For the Windows XP operating system with SP1 or earlier and Windows Vista, use the Remote Desktop (Console) task in Windows Server 2003. Remote Desktop (Admin) will cause an error dialog. For Windows Vista with SP1, use the Remote Desktop (Admin) task in Windows Server 2008. Remote Desktop (Console) will work as the Remote Desktop task without any notice.

  • SUBST Drive Mappings Are Not Supported by Logical Disk Monitoring
Issue: There is a command-line tool (SUBST.exe) that can be used to associate a path (such as c:\windows\system32) with a drive letter (such as D:\). Because these mappings are exposed in WMI, logical disk monitoring discovers them and attempts to monitor them as such, but will subsequently generate errors.
Workaround: There is no workaround currently available, and this configuration is not supported.

Known Issues with Localized Versions of the Management Pack:


  •  Object discoveries scoped to Windows Server 2008 Computer and Windows Server 2008 Operating System may not display correctly in the Authoring pane.
  • Some instances of localized display strings may not display correctly in the Operations console.
Known Issue: Cluster Disks Managed by Third-Party Software are Not Monitored

  • Issue: If the Cluster disks are managed by third party software, and they change the resource type to anything other than “Physical Disk”, these disks will be discovered but we do not provide monitoring for these.
  • Workaround: There is no workaround currently available. In future, we will be removing discovery for these too.
Known Issue: PowerShell in 2012 MP failed if .NET is uninstalled from Core OS agent by user

  • Issue: .NET 4.5 and PowerShell are installed by default on Core OS and PowerShell depends on .NET, if they are uninstalled from Core OS agent by user, some workflows depending on PowerShell in 2012 MP will be failed.
  • Workaround: Install .NET Framework 4.5 and PowerShell on Core Operating System.

Wednesday, 30 March 2016

Disk Performance dashboard view is empty in SCOM 2012 R2

Disk Performance dashboard view is empty in SCOM 2012 R2


  • Disk Performance Dashboard View is empty. This is because the rule to see this data is not enabled. In order to populate this view, please enable the rules.
In 2012 Monitoring MP:
  • Microsoft.Windows.Server.6.2.OperatingSystem.TotalPercentDPCTime.Collection
  • Microsoft.Windows.Server.6.2.OperatingSystem.TotalPercentInterruptTime.Collection
  • Microsoft.Windows.Server.6.2.Processor.PercentDPCTime.Collection
  • Microsoft.Windows.Server.6.2.Processor.PercentInterruptTime.Collection
In 2012 R2 Monitoring MP:
  • Microsoft.Windows.Server.2012.R2.OperatingSystem.TotalPercentDPCTime.Collection
  • Microsoft.Windows.Server.2012.R2.OperatingSystem.TotalPercentInterruptTime.Collection

Tuesday, 29 March 2016

Upgrading an Operating System from Windows 2003 to Windows 2008: How to Prevent Discovery Problems

Upgrading an Operating System from Windows 2003 to Windows 2008: How to Prevent Discovery Problems


  • Before you upgrade the operating system on a monitored computer, uninstall the Operations Manager agent. After the upgrade, reinstall the Operations Manager agent.

Reason:

  • The objects that the management pack discovers, such as logical disks, are hosted by a parent class that is not version-specific. When you upgrade the operating system, the order in which discovery occurs can result in duplicate objects being discovered.
  • For example, you upgrade a computer running Windows Server 2003 to Windows Server 2008. 
  • If the Windows Server 2003 discovery rules run first after the upgrade, the instance of the computer running Windows Server 2003 and its objects will be removed from discovery because the operating system base class has been removed. When the Windows Server 2008 discovery rules run, the computer and its objects will be discovered again.
  • If the Windows Server 2008 discovery rules run first after the upgrade, the computer running Windows Server 2008 and its objects will be discovered. When the Windows Server 2003 discovery rules run, the instance of the computer running Windows Server 2003 will be removed from discovery, but the objects hosted by that instance will not be removed.
  • So If you upgrade a computer without uninstalling the agent first and then discover duplicate objects, uninstall the agent to mark all hosted objects as deleted in the database. Next, reinstall the agent to only discover existing applications/objects.  


Monday, 8 February 2016

Windows Server Monitoring Management pack 6.0.7303.0 for SCOM 2012 R2 -Provides Support to Monitor Windows Nano Server 2016

Windows Server Monitoring Management pack 6.0.7303.0 for SCOM 2012 R2 -Provides Support to Monitor Windows Nano Server 2016


Fixed Issues and Support:

  •     MP used to discover physical CPU, which performance monitor instance name property was not correlated with Windows PerfMon object (expecting instance name in (socket, core) format). That affected related rules and monitors. With this release, MP discovers logical processors, rather than physical, and populates performance monitor instance name in proper format
  •       Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.mp and Microsoft.Windows.Server.Library.mp scripts code migration to PowerShell in scope of Windows Server 2016 Nano support (relevantly introduced in Windows Server 2016 MP version 10.0.1.0).
  •   Microsoft.Windows.Server.ClusterSharedVolumeMonitoring.ClusterSharedVolume.Monitoring.State monitor alert properties and description. The fix resolved property replacement failure warning been generated on monitor alert firing.

Friday, 18 September 2015

New Windows Server Operating System Management pack for Windows 2012 R2 version 6.0.7297.0

New Windows Server Operating System Management pack for Windows 2012 R2 Version 6.0.7297.0


  • Microsoft has released a new MP for Windows Server which include 2012,2012 R2, Windows 2008
Following are the Fixes that has been done in this latest

  • In 2008, 2012 platforms, the “Logical Disk Free Space (%) Low” monitor do not alert as expected when free space is 0%. With this fix, this monitor will alert when free space is 0%
  • In all platforms, logical disks are un-discovered if we configure them as Asymmetric storage on Failover Cluster. With this fix, this issue will be resolved
  • The Windows Server OS Management pack collects logical disk size is megabytes. During discovery this value used to be assigned to integer property. When logical disk size is significantly large (for example, when disk is of several petabytes), in megabytes format it goes out of boundaries of integer type. As a result the workflow fails while trying to insert discovery data. To support large logical disk another double properties was introduced, since double type has much more wide values range. Old integer property with constant “-1” value is preserved for upgrade compatibility and marked as DEPRECETED
  • “Volume Mount Points on Dynamic Disks” aren’t discovered by Microsoft Windows Server 2012 Discovery MP. With this fix, this issue will be resolved
  • MP has been modified to not discover System Reserved volumes on Windows Server 2012 to ensure it is consistent with the rest of the OS versions

To Download the Latest MP: Click Here

Friday, 31 July 2015

New Search Box in Windows 10

New Search Box in Windows 10



  • Earlier version of Windows You have to click on Start to Search.
  • But In Windows 10 this has been moved next to Start in Launch Bar itself
  • So you can SEARCH for Notepad and Word and it will show up

Monday, 27 July 2015

Command to Get List of Patches installed on Windows 2008 R2 and Windows 2012

Command to Get List of Patches installed on Windows 2008 R2 and Windows 2012


  • Manytime we get request from application owners who request for list of patches instaled and on what date
  • You can use the below command to get the list of Patches from the server. This will Create a html file called hotfix.html in your C: drive.
  • wmic qfe list brief /format:htable > "c:\hotfix.html"

Thursday, 16 July 2015

Take Screenshot or Screen Captures in Windows 10 Made easy

Take Screenshot or Screen Captures in Windows 10

  • Earlier we have to use the PrintScreen button to take screenshots.
  • This has been understood by microsoft that its a teadious task.
  • So they have included a new tool called "Snipping Tool"
  • Select the sniping tool by clicking on start and search for "Snipping tool" and click on it
  • This will open the snipping tool. Now click on new and select the area you want to take screenshot and save it. So easy.

Saturday, 4 July 2015

Add new Disk on Virtual Servers in Windows Azure

Extend Disk on Virtual Servers in Windows Azure


  • First Login to Windows Azure portal and your Virtual Mahcine and select "Attach an Empty Disk"
  • Now enter the Disk Size you want and click Create

Step by Step instruction to Create a Windows 2012 R2 Server in Windows Azure

Step by Step instruction to Create a Windows 2012 R2 Server in Windows Azure


  • Inorder to create a new Windows 2012 R2 server, login to your Azure portal and click on virtual machines Tab

  • Now Click on "Create A Virtual Machine"

  • Then Click Quick Create and select IMAGE which ever OS you want in this we will install "Windows Server 2012"  and Configuration you want. Also give the admin Name and password of your VM and which region  you want your VM to be in and click "Create Virutl Machine"
  • This will start building your VM and it will be ready in few Minutes.


  • One its ready Click on Connect in the Bottom and it will prompt you to open RDP file of server.Download the RDP file to your desktop

  • Now Double click the RDP file and Click Connect. Enter the Username and Password  and you will get the RDP of the server.

Saturday, 25 April 2015

How improve performance of your Windows Server by 40 % with this simple tweak

How improve performance of your Server by 40 % with this simple tweak


  • Many people see slugish performance of there server ,especially if your server is SQL server and its hosted on Windows 2008 R2.
  • The reason is very simple and buy doing this small change it will give you 60 % better performance of your system
  • The reason is because of Power settings. In Windows 2008 R2 the Power settings is set as "balanced". What this does it to save power it reduces power consumption to the server
  • This wont be visible if you run and check some simple query.
  • But as you server runs lot o transactions, you can see poor performance and complaint from your customers.
  • Inorder to fix it change the Power settings to " High Performance"
  • This will improve the PC perforamance by 40 %.
  • This tweeks applies to all Windows Servers versions, but it is more siver in Windows 2008 R2 

Sunday, 4 January 2015

How to get the RUN window in Windows Server 2012 R2

How to get the RUN window in Windows 2012


  • To get the Run Windows in Current version You just click on Start and search for Run and it will show up.
  • To get the Run windows in Windows 2012. Right Click on the Start Button.It will show the Run Program there.Click on it and you will get the Run Windows