Archive

Archive for December, 2012

Cisco VPN Client for Windows 8 / Windows Server 2012.

December 28, 2012 10 comments

Till now Cisco has not launched VPN client for Windows 8 or Windows Server 2012, but it is always said ‘Where there is a will , there is a way’. In few of your minutes you will be able to run you Cisco VPN client successfully.

  1. Install Cisco VPN client , depending on your system specks (x86 or x64).
  2. Press (windows + R) or go to run command.
  3. Type ‘regedit’.
  4. Navigate to the following registry key: “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CVirtA”
  5. Double click DisplayName.
  • For x86, change the value data from something like “@oem8.inf,%CVirtA_Desc%;Cisco Systems VPN Adapter” to “Cisco Systems VPN Adapter
  • For x64, change the value data from something like “@oem8.inf,%CVirtA_Desc%;Cisco Systems VPN Adapter for 64-bit Windows” to “Cisco Systems VPN Adapter for 64-bit Windows

After it , just open your Cisco VPN client and you will be able to connect successfully.

Stsadm and PowerShell Commands to Add , Deploy/Install , Retract/Uninstall and Delete/Remove SharePoint Solution.

December 19, 2012 3 comments

I think this is good time to post stsadm and PowerShell commands for adding , deploying/Installing , retracting/uninstalling and removing SharePoint solutions (wsp).

Commands are quiet similar just with different names. PowerShell works on SharePoint 2010 where as stsadm works on both SharePoint 2007 and SharePoint 2010.

Stsadm Commands

Stsadm commands are executed from hive/bin.

Add Solution :

stsadm.exe -o addsolution -filename “complete name of SharePoint solution with extension”

For example :

stsadm.exe -o addsolution -filename “SharePoint.CustomProject.wsp”

Deploy Solution :

stsadm.exe -o deploysolution -name “complete name of SharePoint solution with extension” -immediate  -allowGacDeployment

For example :

stsadm.exe” -o deploysolution -name “SharePoint.CustomProject.wsp” -immediate  -allowGacDeployment

Retract Solution :

stsadm.exe” -o retractsolution -name “complete name of SharePoint solution with extension” –immediate

For example :

stsadm.exe” -o retractsolution -name “SharePoint.CustomProject.wsp” –immediate

Delete Solution :

stsadm.exe” -o deletesolution -name “complete name of SharePoint solution with extension”

For example :

stsadm.exe” -o deletesolution -name “SharePoint.CustomProject.wsp”

 

PowerShell Commands

Run SharePoint 2010 Management Shell.

Add

Add-SPSolution “complete path where wsp file exist/solution name”

For example :

Add-SPSolution c:\Users\Administrator\Desktop\SharePoint.CustomProject.wsp

Install

Install-SPSolution –Identity “solution name”  –AllWebApplications –GACDeployment

For example :

Install-SPSolution –identity SharePoint.CustomProject.wsp –AllWebApplications –GACDeployment

Uninstall

Uninstall-SPSolution –Identity “solution name” –AllWebApplications

For Example :

                Uninstall–SPSolution –Identity SharePoint.CustomProject.wsp – AllWebApplications

Remove

Remove-SPSolution –Identity “solution name”

For Example :

                Remove-SPSolution –Identity SharePoint.CustomProject.wsp