Blogroll

Tuesday, January 13, 2015

Sunday, January 11, 2015

Outlook continuously prompting for password while connecting to Office 365? Solution is here.


Issue: Outlook continuously prompting for password while connecting to Office 365 Find out the solution.

Background:
When attempting to create an Outlook profile or connecting to an Office 365 mailbox, you are sometimes continuously prompted for credentials. The client displays the message "trying to connect...”." If you cancel the credentials prompt, you receive the following error:

Error: The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action.

Resolution:

Change the Logon network security setting to Anonymous Authentication.

Mandatory Checks:

If you can’t find “Anonymous Authentication” under Logon network security drop down, you will have to download Service Pack 2 , which is mandatory for Outlook 2010. Open attached PDF to download the Service Pack 2.


Launch Control Panel.

In Windows 8 and Windows 8.1

Swipe in from the right to open the charms, tap or click Search , and then type control panel in the search box. Or, type control panel at the Start screen.

In Windows 7
Click Start, type Control Panel in the Start Search box, and then press Enter.

3.    In Control Panel, locate and double-click Mail.

4.    Click Show Profiles, select your Outlook profile, and click Properties.

5.    Click E-mail Accounts, select Account Settings and on the E-mail tab, click Change.

6.    In the Change Account dialog, click More Settings.

7.    In the Microsoft Exchange dialog, select the Security tab.

8.    From the Login network security dropdown, select Anonymous Authentication and click OK.

9.    Click Next and click Finish, and then click Close on the Account Settings dialog.

10. Click Close on the Mail Setup dialog, and click OK to close the Mail control panel.

  Why does it happen?

This issue can occur if Logon network security under More Settings on the Microsoft Exchange Security tab is set to a value other than Anonymous Authentication.



 Applies to: Outlook 2013, Office 365.


Friday, January 9, 2015

NoILMUsed UserProfileApplication class property should not use: SharePoint 2013

While reading some articles on internet, I bumped in very interesting article shared by MS back in 2013.

A property name NoIMLUsed was elaborated an MS suggest this property should not be altered else can damage you are working User Profile service.

They have given a PowerShell Snippet below to be used to correct this.

$upa = Get-SPServiceApplication | ? {$_.typename -like 'User Profile *'}
if ($upa -eq $null)
{
    Write-Host "No User Profile service application is found."
    Return
}

if ($upa.noILMUsed -eq $true)
{
    Write-Host "Reverting back the NoILMUsed flag to false..."
    $upa.noILMUsed = $false    
    try
    {
        $upa.Update()
    }
    catch
    {
        Write-Host "Failed updating UPA once. Try it again..."
        $upa = Get-SPServiceApplication | ? {$_.typename -like 'User Profile *'}
        $upa.noILMUsed = $false 
        $upa.Update()
    }

    # check the flag after update
    $upa = Get-SPServiceApplication | ? {$_.typename -like 'User Profile *'}
    if ($upa.noILMUsed -eq $false)
    {
        Write-Host "Successfully reverted back the NoILMUsed flag to false."
    }
    else
    {
        Write-Host "Failed to revert back the flag. Please try running the script again."
        Return;
    }
}
else
{
    Write-Host "The NOILMUsed flag is already set to false. "
}

# check sync service status
$syncServices = @(Get-SPServiceinstance | ? {$_.typename -like 'User Profile Synchronization *'})
$flag = $false
foreach ($service in $syncServices)
{
    if ($service.status -eq 'Online')
    {
        $flag = $true
        break
    }
}

if ($flag -eq $false)
{
    Write-Host "The User Profile Synchronization service is not started in this farm. Please proceed with restarting the profile sync service when in need." 
}
else
{
    Write-Host "All appears to be good."
}

Reference KB can be found here: https://support.microsoft.com/kb/2624198

I hope this information is useful for you.


Applies to: SharePoint Server 2013.

Thursday, January 8, 2015

Version comment is blank in a document library: SharePoint 2013.


Issue: When you check-in back a document and enter comment in the version history you see you comments are not saved.

Error: There is no error message, it’s just version comments are missing.

Background: on some of the site when version is enabled and require check-out before you edit a document is enabled you see that when you write comments in version and reading versions history versions are there but their associated comments are not there.

Troubleshooting:

We check-out on other document libraries and this problem was across.

We disabled version on a particular library and saw not difference.

We disabled require document to be checkout and saw no difference.

Set-up another document library with same features enabled and problem was there.

I noticed this is wider problem them expected.

Resolutions:

Found a hotfix published by MS on October, 2013 has listed about the issue.

This hotfix also does talks about many other related issue.

Alternatively installing cumulative update this http://support.microsoft.com/kb/2825647 
could also resolve the problem.

Prerequisites for the above KB is http://support.microsoft.com/kb/2767999

Applies to: SharePoint Server 2013.  





Tuesday, January 6, 2015

Installing IIS 8 on Windows 8.1

I have seen many developers who don’t have access to Servers and wanted to explore features of a tools and test some functionality, they often has the alternative to install the Software’s on their machines.  

One such component is IIS 8 on a machine which runs Windows 8.1. Let’s have a look at the options how do we install IIS 8 on a client machine such as windows 8.1.
To learn how to enable IIS and the required IIS components on Windows 8/8.1, see the instructions below.
1.    Open Control Panel and click Programs and Features > Turn Windows features on or off.

Note: you can also open Control Panel by pressing windows + run and type appwiz.cpl to access control panel.

2.    Enable Internet Information Services.


3.    Expand the Internet Information Services feature and verify that the web server components listed below are enabled.

If you wanted to host FTP service on your machine to have it accessed as FTP Server by mapping to an external IP, you can install FTP option from here as well.

4.    Click OK.

5.    Windows will apply changes and will install all necessary configuration files and will ask for the reboot.


If you visit Control Panel, Administration tools is not yet available unless you will restart your PC.

6.   Click Restart Now, now if you visit the visit Control Panel, Administration tools and Internet Information Services (IIS) Manager then you can open IIS 8.



7.  Accessing your default site will look like below.



 If you have any issues following the above steps please drop comments in the comment section I will try to help with every possible way.


Applies to: Windows 8.1, IIS 8.

Monday, January 5, 2015

We can't sync this section because you don't have write permissions: OneNote.

Issue: While upgrading from our trail version of SharePoint 2013 POC to a usable set-up SharePoint 2013. We have seen an issue reported where syncing your OneNote with SharePoint resulted in an issue and get the following error.

Error: We're sorry. We can't sync this section because you don't have write permissions. Talk to your administrator to resolve the issue. (Error code: 0xE4010071)"

Troubleshooting:

We tried to download the OneNote from the site and opened it, it worked fine.

Locally there was no issue, all the updated changes were saved.

Saving or synchronizing them with SharePoint was having issue.

Opening one note book from SharePoint site was opening as read-only, despite of user having permissions.

As a part of SharePoint 2010 upgrade while working with previous clients I remember that when a site being upgraded it temporary locks for editions.

Resolution:

Thinking of the same ground, I found the MS evidence http://support.microsoft.com/kb/2777002, which talks about the same behavior.
There is workaround to this issue:

1.    Open the SharePoint site, and then open the library that contains the notebook.
2.    In the Connect & Export area on the LIBRARY tab, click Open with Explorer
Expand this image
3.    Copy the notebook folder that contains the section files to the local computer, and then open the section files by using OneNote.
4.    And then update your information.

Once SharePoint is online you can again synchronize your updates.

If you have any issues, do let me know. I would be happier to answer those.

Reference: http://blogs.msdn.com/b/david_rasmussen/archive/2007/12/10/onenote-shared-notebooks-options-and-troubleshooting-part-1-windows-file-shares.aspx 

Product Applies to: SharePoint Server 2013, One Note 2013.



Sunday, January 4, 2015

Decrypt your files damaged by CTB Locker Virus.

Issue: Decrypt your files damaged by CTB Locker Virus.

Background: As discussed in the last post of SharePoint Server 2013 client machine is infected with CTB locker virus, today I did more research on the finding a way to recover your file which were decrypted by CTB locker Virus.

Analysis by Symantec Connect- Security:

Decryption without the key from your attackers is not feasible, but that does not mean that a Trojan.CryptoLocker threat must seriously disrupt your business.  A scan with new AntiVirus definitions will be able to detect and remove the executable file and prevent any further damage, then simply delete all the encrypted files and restore them from their last known-good backup.  

With some variants of Trojan.Cryptolocker, it is possible to use Windows Powershell to generate a list of files that have been encrypted by ransomlock.  You can dump the list of files in the CryptoLocker registry key using the following command:

(Get-Item HKCU:\Software\CryptoLocker\Files).GetValueNames().Replace("?","\") | Out-File CryptoLockerFiles.txt -Encoding Unicode

Note that more recent variants seem to have changed their code to prevent the generation of such a list.  It will be necessary to identify the corrupted files manually. 

Microsoft Built-In Tools: Windows Backup 

Windows comes with a built-in backup and restore utility.  Windows Backup is a freebie that can restore encrypted files (or files otherwise damaged by any threat), providing that you have made a backup of them prior to the damage.  Microsoft have released a video on how to use the built-in backup and restore tool to back up your important files.  Watching this simple how-to will enable you to schedule a known-good backup of your selected data, and will only cost a minute of your life.  Definitely recommended!


This Windows Backup tool also has the ability to create a system image- this is an exact image of the entire drive: system settings, programs, files, everything.  If this system image is restored, it will not only replace all the corrupted files that Trojan.CryptoLocker has damaged- it will overwrite everything!  Use system image restoration with caution.

Use a Previous Version
An alternative, if it is a technology in use in your organization, is to restore from a Previous Version.  Previous versions are copies of files and folders that Windows automatically saved as part of system protection. This feature is fantastic at rescuing files that were damaged by malware. Here's another Microsoft article with all the details:


If system protection is enabled, Windows automatically creates previous versions of files and folders that have been modified since the last restore point was made.

As an example: let's say that Trojan.CryptoLocker has turned the important MS Word document "Network and Telco.doc" into gibberish.  From Windows Explorer, just right-click it, "Restore previous versions" highlight the version from last week (before the damage was done) and click Restore.

One the File Server: Volume Shadow Copies

If Trojan.CryptoLocker has damaged files that reside in a mapped directory on a corporate file server, there's a slightly different method for restoring them.  If Volume Shadow Copies are enabled on the server, recovery should be easy.  More details and a mention of gourmet snacks can be found in this Technet article:

Rapid Recovery with the Volume Shadow Copy Service
http://technet.microsoft.com/en-ie/magazine/2006.01.rapidrecovery(en-us).aspx
My resolution:

Please try with this site to decrypt your files that has been encryped by ransomware http://ecryptcryptolocker.com

This are the top ransomewares that has been reported.any one of this may be infected your system
How to remove the ransomware depends on what type it is.

If your web browser is locked

You can try to unlock your browser by using Task Manager to stop the web browser's process:
1.    Open Task Manager. There are a number of ways you can do this:
o    Right-click on an empty space on the taskbar and click Task Manager orStart Task Manager.
o    Press Ctrl+Shift+Esc.
o    Press Ctrl+Alt+Delete.
2.    In the list of Applications or Processes, click on the name of your web browser.
3.    Click End task. If you are asked if you want to wait for the program to respond, click Close the program.
4.    In some workplaces, access to Task Manager may be restricted by your network administrator. Contact your IT department for help.
When you open your web browser again, you may be asked to restore your session. Do not restore your session or you may end up loading the ransomware again.

How to remove rasnomewar :

Mcafee provides a tool called stinger to remove ransomewares,malwares,trojans,etc

Run this tool it will remove the ransomewares.

Only few tools can remove ransomewares fully some of them i have mentioned
Microsoftsecurity essentials
Windows defender
Malwarebytes
McafeeStinger

The first Three are Microsoft products and can completely remove. Windows defender will be present in all Microsoft operating system by default .it will be turned off.

Please share your experience in the comments below.

Applies to: SharePoint Server 2013 and Windows 8.1.



ShareThis

snow flakes

blogger widgets Blogspot Tutorial

LinkWithin

Related Posts Plugin for WordPress, Blogger...