Tuesday, September 17, 2013

(solved) - 'ping' is not recognized as an internal or external command,operable program or batch file.


  When you are try to ping some destination IP address and if you are getting above mentioned error,  you can follow these steps to resolve this.
This error will be prompt when you try to run Ping, tracert (trace route), etc..
1
Go in to Advanced system settings in your PC
2
Then Click Advanced and select Environment Variables.
3
Then Select 'PATH' from the list of system variables and edit and set PATH to c:\windows\system32
6
Hope this will help you to solve your problem
7
If not you can use below mentioned command to make it work,
first go to CMD and type,
dir %SystemRoot%\System32\ping.exe
path %path%;%SystemRoot%\System32
After successfully enter those commands you are able to use "ping" command. 
8

Monday, May 6, 2013

How to set up a Mirrored Array in Windows 2012

Even with the best backup solution, a hard drive crashes, you’ll lose a few hours of work. By enabling drive mirroring in Windows 2012, you’ll always have an up-to-date copy of your data.
This is a software implementation of RAID 1 in Windows , which means that two or more disks are holding the exact same data. The files are constantly kept in sync, so that if one of the disks fails, you won’t lose any data.
You will need at least one empty disk to set up disk mirroring. I will show you how to mirror an existing disk without losing any data on the mirrored drive, In my case I'm using two 2TB Seagate Hard Drivers.  To start this,
1. From the tools menu you can select Computer Management.
2
2. Then you can select Disk Management from the next window and then you can see Disk1 and Disk 2 are in Unallocated state.
image
3.Just right click on the Disk1 and then you can select New mirrored Volume from the dropdown window.
image
4. Click Next to continue
image
5. Click on the drives you want to hold the mirrored data and click Add. Note that you can add any number of drives. Click Next.
image
6. Once you select the disk, click add and Next button to go to next step.
image
7. Assign it a drive letter, and then click Next.
image
8. Now you’re limited to using the NTFS file format for mirrored drives, so enter a volume label, then select Perform quick format. enable compression if you want, and then click Next.
image
9. Then click Finish to start formatting the drives.
image
10. You will be warned that the new drives will be converted to dynamic disks. Click Yes
image
11. we are done with the configuration. now you  can see the mirrored driver as a new Volume (E:) and in the Disk management console you  can see those to mirrored drivers in red color.
image

How to install SCCM2012 Operation Manager

Operations Manager provides infrastructure monitoring that is flexible and cost-effective, helps ensure the predictable performance and availability of vital applications, and offers comprehensive monitoring for your Datacenter and cloud, both private and public.

First you have to download the Ops manager. If you want you can use 180 days free pack and you can download it from http://www.microsoft.com/en-us/server-cloud/system-center/default.aspx  link. Use your live ID to logging and then you can download all System Center Products.


Select the Features that you want to install.


Give a location to install OPsManager

Once you click next it will run the prerequisites checker and listed down all the prerequisite problems.



Then you can see all the errors and the resolutions that you have to use to fix those errors. Here I have got IIS error and to fix this we have to go in to IIS Manager (type 'Inetmgr" in the run window)


In the Connections pane, click the server name. Then In the Home pane, double-click ISAPI and CGI Restrictions. Go in to ASP.NET v4.0.30319 and allowed it.

After that you can hit net button to proceed with the installation.

Give a Management Group name

Accept the License.

Then you have to configure the Operational database and the Data warehouse Databases.

After that select the SQL Server instance from the drop down list

If you have no enable the SQL server Agent in SQL Server Management Studio, you will get the following error. To avoid this you have to enable the SQL server Agent in SQL Server Management Studio.

Then select the Web Site from the drop down list. If you want you can enable SSL in this site.

Select the Authentication mode for the Web console

And give your Account details.


If you want you can Enable\disable the Windows Updates


Installation summary. Click Install to continue



Once you done with that you can open the Operations Console.

Monday, March 4, 2013

How to create a file share in Windows 2012

  If you want to setup a file share in Window 2012 you can follow the below mentioned steps. In Windows 2012(It was there in Windows 2008 also) when you want to create the file share, you can see there are five difference profiles. you can see a list of the profiles below, along with a short description of each.
Profile Description
SMB Share - Quick This basic profile represents the fastest way to create an SMB file share, typically used to share files with Windows-based computers.
  • Suitable for general file sharing
  • Advanced options can be configured later by using the Properties dialog
SMB Share - Advanced This advanced profile offers additional options to configure a SMB file share.
  • Set the folder owners for access-denied assistance
  • Configure default classification of data in the folder for management and access policies
  • Enable quotas
SMB Share - Applications This profile creates an SMB file share with settings appropriate for Hyper-V, certain databases, and other server applications.
NFS Share - Quick This basic profile represents the fastest way to create a NFS file share, typically used to share files with UNIX-based computers.
  • Suitable for general file sharing
  • Advanced options can be configured later by using the Properties dialog
NFS Share - Advanced This advanced profile offers additional options to configure a NFS file share.
  • Set the folder owners for access-denied assistance
  • Configure default classification of data in the folder for management and access policies
  • Enable quotas
First you have to enable the File and Storage Service Role from the Add Roles and Features wizard. after that you can se below mentioned window and just select “Create file share”
image
Form new share window you have to select the correct profile. once you select, Click Next to proceed.
image
Select the Correct file Share location. You can choose to share a whole drive, if you want.
image
Give a folder name. I’ve named my share as NSLFPS.Then below, you can see the full share name/network path.
image
There are some other additional settings that you can enable. Access-based enumeration used to be an add on for Windows. It allows users to see just the files and folders to which they have been granted access and not even be able to see that other items exist. You can also choose to allow the shared folder to be cached on other systems using BranchCache. Finally, you’re able to encrypt remote access to the newly shared resource.
image
Provide required Permission for the Share folder.
image
Review your selections and click the Create button when you’re ready to create the share.
image
Now you have successfully shared a folder in Windows Server 2012.

Thursday, February 28, 2013

How to set up a Mirrored Array in Windows 2012

Even with the best backup solution, a hard drive crashes, you’ll lose a few hours of work. By enabling drive mirroring in Windows 2012, you’ll always have an up-to-date copy of your data.
This is a software implementation of RAID 1 in Windows , which means that two or more disks are holding the exact same data. The files are constantly kept in sync, so that if one of the disks fails, you won’t lose any data.
You will need at least one empty disk to set up disk mirroring. I will show you how to mirror an existing disk without losing any data on the mirrored drive, In my case I'm using two 2TB Seagate Hard Drivers.  To start this,
1. From the tools menu you can select Computer Management.
2
2. Then you can select Disk Management from the next window and then you can see Disk1 and Disk 2 are in Unallocated state.
image
3.Just right click on the Disk1 and then you can select New mirrored Volume from the dropdown window.
image
4. Click Next to continue
image
5. Click on the drives you want to hold the mirrored data and click Add. Note that you can add any number of drives. Click Next.
image
6. Once you select the disk, click add and Next button to go to next step.
image
7. Assign it a drive letter, and then click Next.
image
8. Now you’re limited to using the NTFS file format for mirrored drives, so enter a volume label, then select Perform quick format. enable compression if you want, and then click Next.
image
9. Then click Finish to start formatting the drives.
image
10. You will be warned that the new drives will be converted to dynamic disks. Click Yes
image
11. we are done with the configuration. now you  can see the mirrored driver as a new Volume (E:) and in the Disk management console you  can see those to mirrored drivers in red color.
image