About Me

SharePoint Architect with over 17 years of IT Experience in various roles as SharePoint Architect, Administrator, Technical Architect, IT Analyst, Application Developer, CRM Consultant, BI Developer, Microsoft Solution Architect in Client/Server, Web and Enterprise CRM Applications in E-Commerce, Financial, Healthcare, Insurance, Telecom, Outsourcing and Technology Services.
MCITP (Pro): Microsoft Certified IT Professional: SharePoint 2010 Administrator.
MCTS: Microsoft Certified Technology Specialist, SharePoint 2010 Configuration.

Wednesday, July 3, 2013

List Of useful Commands for Windows (XP)


Accessibility Controls - access.cpl
Add Hardware Wizard - hdwwiz.cpl
Add/Remove Programs - appwiz.cpl
Administrative Tools - control admintools
Automatic Updates - wuaucpl.cpl
Bluetooth Transfer Wizard - fsquirt
Calculator - calc
Certificate Manager - certmgr.msc
Character Map - charmap
Check Disk Utility - chkdsk
Clipboard Viewer - clipbrd
Command Prompt - cmd
Component Services - dcomcnfg
Computer Management - compmgmt.msc
Date and Time Properties - timedate.cpl
DDE Shares - ddeshare
Device Manager - devmgmt.msc
Direct X Control Panel (If Installed)* - directx.cpl
Direct X Troubleshooter - dxdiag
Disk Cleanup Utility - cleanmgr
Disk Defragment - dfrg.msc
Disk Management - diskmgmt.msc
Disk Partition Manager - diskpart
Display Properties - control desktop
Display Properties - desk.cpl
Display Properties (w/Appearance Tab Preselected) - control color
Dr. Watson System Troubleshooting Utility -
drwtsn32
Driver Verifier Utility - verifier
Event Viewer - eventvwr.msc
File Signature Verification Tool - sigverif
Findfast - findfast.cpl
Folders Properties - control folders
Fonts - control fonts
Fonts Folder - fonts
Free Cell Card Game - freecell
Game Controllers - joy.cpl
Group Policy Editor (XP Prof) - gpedit.msc
Hearts Card Game - mshearts
Iexpress Wizard - iexpress
Indexing Service - ciadv.msc
Internet Properties - inetcpl.cpl
IP Configuration (Display Connection Configuration) - ipconfig /all
IP Configuration (Display DNS Cache Contents) - ipconfig /displaydns
IP Configuration (Delete DNS Cache Contents) - ipconfig /flushdns
IP Configuration (Release All Connections) - ipconfig /release
IP Configuration (Renew All Connections) - ipconfig /renew
IP Configuration (Refreshes DHCP & Re-Registers DNS) - ipconfig /registerdns
IP Configuration (Display DHCP Class ID) - ipconfig /showclassid
IP Configuration (Modifies DHCP Class ID) - ipconfig /setclassid
ava Control Panel (If Installed) - jpicpl32.cpl
Java Control Panel (If Installed) - javaws
Keyboard Properties - control keyboard
Local Security Settings - secpol.msc
Local Users and Groups - lusrmgr.msc
Logs You Out Of Windows - logoff
Microsoft Chat - winchat
Minesweeper Game - winmine
Mouse Properties - control mouse
Mouse Properties - main.cpl
Network Connections - control netconnections
Network Connections - ncpa.cpl
Network Setup Wizard - netsetup.cpl
Notepad - notepad
Nview Desktop Manager (If Installed) - nvtuicpl.cpl
Object Packager - packager
ODBC Data Source Administrator - odbccp32.cpl
On Screen Keyboard - osk
Opens AC3 Filter (If Installed) - ac3filter.cpl
Password Properties - password.cpl
Performance Monitor - perfmon.msc
Performance Monitor - perfmon
Phone and Modem Options - telephon.cpl
Power Configuration - powercfg.cpl
Printers and Faxes - control printers
Printers Folder - printers
Private Character Editor - eudcedit
Quicktime (If Installed) - QuickTime.cpl
Regional Settings - intl.cpl
Registry Editor - regedit
Registry Editor - regedit32
Remote Desktop - mstsc
Removable Storage - ntmsmgr.msc
Removable Storage Operator Requests - ntmsoprq.msc
Resultant Set of Policy (XP Prof) - rsop.msc
Scanners and Cameras - sticpl.cpl
Scheduled Tasks - control schedtasks
Security Center - wscui.cpl
Services - services.msc
Shared Folders - fsmgmt.msc
Shuts Down Windows - shutdown
Sounds and Audio - mmsys.cpl
Spider Solitare Card Game - spider
SQL Client Configuration - cliconfg
System Configuration Editor - sysedit
System Configuration Utility - msconfig
System File Checker Utility (Scan Immediately) - sfc /scannow
System File Checker Utility (Scan Once At Next Boot) - sfc /scanonce
System File Checker Utility (Scan On Every Boot) - sfc /scanboot
System File Checker Utility (Return to Default Setting) - sfc /revert
System File Checker Utility (Purge File Cache) - sfc /purgecache
System File Checker Utility (Set Cache Size to size x) - sfc /cachesize=x
System Properties - sysdm.cpl
Task Manager - taskmgr
Telnet Client - telnet
User Account Management - nusrmgr.cpl
Utility Manager - utilman
Windows Firewall - firewall.cpl
Windows Magnifier - magnify
Windows Management Infrastructure - wmimgmt.msc
Windows System Security Tool - syskey
Windows Update Launches - wupdmgr
Windows XP Tour Wizard - tourstart
Wordpad - write

Wednesday, April 3, 2013

Administrative Commands for Server Management.



1. List Wireless Connection Profiles
                               netsh wlan show profiles

2. Test Domain Name : portal.spdomain.com
C:\Users\spadmin>nslookup portal

3. Disable Loopback.
    Powershell Command:
New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword

4. If certain links are not enabled and/or IE GUI is different than expected.
    Try: Enabled Active Scripting in IE\Internet Options\Security\Custom Level

5. Command line tools.
    Computer Management      : compmgmt.msc
 
    IssueLocal users and groups not available under Computer Management
    If you are On a DC, you don't have local users and groups, you must use Active directory users and computers.

     Server Manager      : ServerManager.msc

    Domain Controller  :  

Managing Service Accounts in Windows Server 2008 R2

Managing Service Accounts in Windows Server 2008 R2

Unfortunately, No UI is available for this purpose.

Windows PowerShell cmdlets are needed to configure and manage these accounts for a service running on Windows 7 or Windows Server 2008 R2.

May need KB 2494158, to override password expiry in 30 days.

Refer following link for more details. http://technet.microsoft.com/en-us/library/dd548356.aspx

Monday, March 11, 2013

SharePoint 2010 Farm Account getting access denied on Server

When you setup New SharePoint 2010 Farm Environment you may experience access denied issue even for Farm Account, when try to access any Web Application/Site in spite of having Farm Account in the Web Application Policy with Full Control.
 
Try this in the command prompt to confirm that

net view \\
alias.domain name.com    You may get error as
  1. Refer to the KB http://support.microsoft.com/kb/896861 and edit registry values as below.In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0

  1. Right-click MSV1_0, point to New, and then click Multi-String Value.
  2. Type BackConnectionHostNames, and then press ENTER.
  3. Right-click BackConnectionHostNames, and then click Modify.
  4. In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK.
Quit Registry Editor, and then restart the IISAdmin service.

The result is

Tuesday, January 29, 2013

Scripting Tips


Count of rows in Text File
$totalrows = Import-Csv C:\urls.csv | Measure-Object | Select-Object -expand count

Open/Read text File

    AccountNames.csv
         AccountName
         Domain\Name1
         Domain\Name2

$AcctFile="C:\AccountNames.csv"

ipcsv $AcctFile | foreach {
     $AName =$_.AccountName
}

Write-host
Write-host "Feature: " $AName -foregroundcolor yellow
Clear-Host


TimeStamp
$strTimestamp =  [string](Get-Date -format "yyyy-MM-dd_hh-mm-ss")
$strLogFile =  ($strFilePath + "FileName_" + $strTimestamp + ".log")

Log to File
$AName +",Blog-NotFound" | Out-File ($strLogFile) -append
Write-Output "$Class deleted on $CommunityList" | Out-File -Append $strLogFile
"Count  :"+$UrlsCount | Out-File -Append $DeletedReport

Log File Creation Prompt:
if ((Test-Path -path $FilePath) -ne $True) {
 $NewPathPrompt = "$FilePath does not exist! Would you like to create it?"
 $NewPathMessage = ""
 $NewPathYes = New-Object System.Management.Automation.Host.ChoiceDescription "&Yes", `
  "Creates new directory at $FilePath"
 $NewPathNo = New-Object System.Management.Automation.Host.ChoiceDescription "&No", `
  "Do not create new directory and exit"
 $NewPathOptions = [System.Management.Automation.Host.ChoiceDescription[]]($NewPathYes, $NewPathNo)
 $NewPathResult = $host.ui.PromptForChoice($NewPathPrompt, $NewPathMessage, $NewPathOptions, 0)
 switch ($NewPathResult)
  {
   0 {New-Item $FilePath -type directory}
   1 {Write-Host "Cannot continue without valid directory to save output file, exiting..."
    Exit
    }
  }
}
 



Blog Sites


  • SharePoint Security
    http://www.sharepointsecurity.com/syndicated-content/first-steps-in-implementing-isa-server-with-sharepoint/
  • http://blog.sharepointsite.co.uk/
    Remote restart and auto-logon and PowerShell Script execution on remote server.