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."}

Thursday, January 8, 2015

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.

Tuesday, January 6, 2015

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.

Monday, January 5, 2015

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.

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 withnew AntiVirus definitionswill be able to detect andremove
the executable file and prevent any further damage, then
simplydelete 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:

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 torestore
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) andclick 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. IfVolume
Shadow Copiesare
enabled on the server, recovery should be easy. More details and a
mention of gourmet snacks can be found in this Technet article: