February 29, 2016 asvignesh
Shadow Copies  are possible for almost all volumes and not “all volumes”. There are few cases which the shadow copy may not work Enough Space The shadow storage volume must contain enough free space. At the very minimum you need at least 300 MB or so, for a single shadow copy, for multiple shadow copies, the space can increase more depending on the I/O usage. You can always run the command VSSADMIN LIST SHADOWSTORAGE to see how much space is used for the existing shadow copies. Only Fixed Drives Only fixed drives are supported. You cannot enable Shadow Copy on removable,…
February 9, 2016 asvignesh
Setup a Virtual Host on WAMP Most developers do work locally, Like them i work locally, test then deploy to staging / production. Sometime i used to work on WAMP stack too… in this case creating virtual hosts is better option V-Hosts makes URL cleaner, no need of much modifications in case of CMS let’s setup a virtual host in WAMP. Open your Apache configuration Default Location : C:\wamp\bin\apache\apache2.4.9\conf Search for “Virtual hosts” Uncomment the Include line if it is commented Virtual Host Config File Include Now update the Virtual host config file Sample vHost config <VirtualHost *:80>…
August 27, 2015 asvignesh
You can write the power shell modules through scripts (Script Modules) or through c# code (Binary modules) Script modules can have any valid PS code and save as .psm1 Binary modules can be any assembly that contain cmdlet classes (.dll) the assembly would be imported to powershell and use the commands In this post am writing about the how to create a Binary PowerShell module Open Visual Studio 2012 New Project -> Class Library In order to get the powershell runspace inside the programming language and to create the powershell commands we must add reference of “System.management.automation” dll The DLL…
May 24, 2015 asvignesh 1Comment
Usually we register the dll to the Global Assembly Cache a.k.a GAC using the Visual Studio developer console Gacutil or earlier to Windows server 2012 you can simply drag and drop to the Windows Assembly folder With the Windows server 2012 drag and drop the file to the assembly folder will no longer work In this scenario developer can use Powershell To add DLL to the Global Assembly Cache Run the powershell PS C:\Users\Vignesh> [System.Reflection.Assembly]::Load(“System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”) GAC    Version        Location —    ——-        ——– True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50… PS C:\Users\Vignesh> $publish = New-Object System.EnterpriseServices.Internal.Publish PS C:\Users\Vignesh> $publish.GacInstall(“C:\Users\Vignesh\bin\asvignesh.dll”); To remove DLL from the Global Assembly Cache (Unregister) Run…
May 22, 2015 asvignesh
VSS hardware provider can be initiate and test using DiskShadow Commands Open the Powershell and Enter Diskshadow PS C:\Users\Administrator> diskshadow Microsoft DiskShadow version 1.0 Copyright (C) 2013 Microsoft Corporation On computer: WIN-VigneshDev, 5/22/2015 12:06:35 AM DISKSHADOW> List the Hardware Providers DISKSHADOW> list providers * ProviderID: {74600e39-7dc5-4567-a03b-f091d6c7b092} Type: [2] VSS_PROV_SOFTWARE Name: Hyper-V IC Software Shadow Copy Provider Version: 1.0.0.0 CLSID: {3e02620c-e180-44f3-b154-2473646e4cb8} * ProviderID: {89300202-3cec-4981-9171-19f59559e0f2} Type: [4] VSS_PROV_FILESHARE Name: Microsoft File Share Shadow Copy provider Version: 1.0.0.1 CLSID: {fce59da7-7bac-40da-8d21-3e7311ba51cd} * ProviderID: {b57190af-4567-4dd0-ad8d51abd60b20d5 Type: [3] VSS_PROV_HARDWARE Name: Vignesh Test Provider Version: 6.2.9200.16384 * ProviderID: {b5946137-7b9f-4925-af80-51abd60b20d5} Type: [1] VSS_PROV_SYSTEM Name: Microsoft Software Shadow Copy…
March 22, 2015 asvignesh
If you connected with VPN (Virtual private network), by default your internet will go through the remote gateway (ie. VPN gateway ), Here i explain how to access internet through your local gateway while you are connected to the VPN And the below steps applies only to VPN setups that use Windows default VPN connection and Windows Server RRAS as remote VPN server. The steps may differ if you are using some other My home gateway : 10.0.0.1 My VPN Gateway : 192.168.0.1 My VPN assigned IP : 192.168.0.210 To verify that i use tracert google.com, it goes to my…
January 14, 2015 asvignesh
There is an updated rolled out for chrome today which adds adds a new menu in the top-right of the chrome browser that allows the user to manages the user accounts. Many people feels it as ugly and a bit obnoxious, If you are the one who doesn’t switch the accounts often here is the tip to disable the menu To disable it,head into your flags menu. Type in address bar chrome://flags Search the page for “Enable new profile management system” Change the drop-down menu to “Disabled” Restart Chrome That’s it. You’ll lose the user management menu and return to…
January 6, 2015 asvignesh
Inconsistent Backup The oldest type of backup probably not consistent. The process of taking the backup was so simple, backup application starts at the beginning of a file structure and copies all of the data until it reaches the end, resulting in a backup (Inconsistent). The reason which can make this backup inconsistent is that if any user added/modified after a backup but before it completed that would result in an inconsistent backup; the files in the backup are not consistent. Mainly the volumes which have Random read and random writes application like databases these types of backups do not…
September 19, 2014 asvignesh
Setup iSCSI Initiator iSCSI Initiator is by default installed in Windows 7. You can access it  from Control Panel or Administrative Tools Click on iSCSI Initiator   If the service is not running it will prompt to start the service,Click Yes     Set the Ip of your iSCSI Target server, To create a iSCSI Target server in Ubuntu refer : http://blog.asvignesh.in/setup-iscsi-target-server-in-ubuntu/ Click Quick Connect Select the IP and click Connect Now the IP will show as connected in the Targets, Select Volumes and Devices tab Click Auto Configure Click Ok to close the iSCSI initiator properties Initialize and Format…