Friday, 17 June 2016

Troubleshooting Update Issues System Center Endpoint Protection




Step 1: Ensure that the date and time are set correctly on your computer
  1. Open Endpoint Protection.
  2. If the error message that you received contains the code 0x80072f8f, the problem is most likely caused by an incorrect date or time setting on your computer.
  3. To reset your computer's date or time setting, follow the steps in Fix broken desktop shortcuts and common system maintenance tasks (http://go.microsoft.com/fwlink/?LinkId=155579).

Step 2: Rename the Software Distribution folder on your computer
1.    Stop the Automatic Updates service
a.     Click Start, click Run, type services.msc, and then click OK.
b.     Right-click the Automatic Updates service, and then click Stop.
c.     Minimize the Services snap-in.
  1. Rename the SoftwareDistribution directory as follows:
    1. Click Start, click Run, type cmd, and then click OK.
    2. Type cd %windir%, and then press Enter.
    3. Type ren SoftwareDistribution SDTemp, and then press Enter.
    4. Type exit, and then press Enter.
  2. Start the Automatic Updates service as follows:
    1. Maximize the Services snap-in.
    2. Right-click Automatic Updates service, and then click Start.
    3. Close the Services snap-in window.

Step 3: Reset the Microsoft antivirus update engine on your computer
  1. Click Start, click All Programs, click Accessories, and then right-click Command Prompt, and then select Run as administrator.
  2. In the Command Prompt window, type the following commands and press Enter after each command:
Cd\
Cd program files\microsoft security essentials
Mpcmdrun –removedefinitions –all
Exit
  1. Restart your computer.
  2. Open Endpoint Protection, click the Update tab, and then click Update.
  3. If the issue persists, proceed to the next step.
 
Step 4: Manually install the virus and spyware definition updates
  • If you are running a 32-bit Windows operating system, download the latest updates manually at http://go.microsoft.com/fwlink/?LinkID=87342(http://go.microsoft.com/fwlink/?LinkID=87342).
  • If you are running a 64-bit Windows operating system, download the latest updates manually at http://go.microsoft.com/fwlink/?LinkID=87341(http://go.microsoft.com/fwlink/?LinkID=87341).
  • Click Run. The latest updates are manually installed on your computer.

Unknown Server Administrator

Microsoft Certified Professional, CCNA, Windows Server Administrator, VMWare Administrator, Hyper-V Administrator, Virtualization Administrator

Thursday, 10 March 2016

Upgrading PowerShell Version 4 on Windows Server 2008 R2


Upgrading PowerShell Version 4 on Windows Server 2008 R2

By default PowerShell version 2 is available or installed on Windows Server 2008 R2 & Windows 7.






Prerequisites:
1. Install SP1 for Windows Server 2008 R2 or Windows 7.

2. Install Microsoft .NET Framework 4.5.1



3. Install Windows Management Framework 4.0 

Once both above things are installed reboot the Windows Server 2008 R2 server or Windows 7 machine.

Checking the PowerShell version
Need to run  $psversiontable, to check version for PowerShell




Thank You
Vikas Singh
Vikas.9452@gmail.com
VikasSingh.9452@hotmail.com

Unknown Server Administrator

Microsoft Certified Professional, CCNA, Windows Server Administrator, VMWare Administrator, Hyper-V Administrator, Virtualization Administrator

SQL Error: Cannot connect to - Login failed for User ‘SA’ (Microsoft SQL Server, Error: 18456)


Error: Cannot connect to
Login failed for User ‘SA’ (Microsoft SQL Server, Error: 18456)





Issue occurred:
The login may be a SQL Server login but the server only accepts Windows Authentication

Tried lots of other solution available on google but below solution worked for me on my production environment.
To resolve this issue, configure SQL Server in Mixed Authentication Mode. To do this, follow these steps:

1)    Click Start Ã  click All Programs Ã  click Microsoft SQL Server 20xx (where xx is the version of SQL), and then click SQL Server Management Studio.

2)    Right-click the server, and then click Properties.





3)    On the Security page, under Server authentication, click the SQL Server and Windows Authentication mode option button, and then click OK.



4)    In the SQL Server Management Studio dialog box, click OK to restart SQL services and try again to login with ‘SA’ account.
Applies to:

SQL Server 2014, SQL Server 2012, SQL Server 2008, and SQL Server 2005

Thank You
Vikas Singh
Unknown Server Administrator

Microsoft Certified Professional, CCNA, Windows Server Administrator, VMWare Administrator, Hyper-V Administrator, Virtualization Administrator

Microsoft Azure: How to reset a forgotten password for Virtual Machine on Azure


Microsoft Azure: How to reset a password for Virtual Machine on Azure

If you can't connect to a Windows virtual machine because of a forgotten password or a problem with the Remote Desktop service configuration, use the Azure portal or the VMAccess extension to reset the local administrator password or reset the Remote Desktop service configuration.






2. Click on Virtual Machine from left. Select Machine on which you want to reset password and Click on it.



3. Then you will get Dashboard of that Virtual Machine.



4 Then this page will redirect you to https://portal.azure.com
Then type on your Administrator Account name and Type password which you want to set, Once done. Click save.



That all now to try to login to you Virtual Machine with password.



Thank You
Vikas Singh
Unknown Server Administrator

Microsoft Certified Professional, CCNA, Windows Server Administrator, VMWare Administrator, Hyper-V Administrator, Virtualization Administrator