While setting my new cloud in Hyper-v, I faced issue in joining the domain with error “Domain can not join because SID…… identical” I needed to create multiple VMs of Server 2012, so I Created Server VM in Hyper-V, and exported it, and then imported it with New SID Once VM is successfully imported […]
You are browsing archives for
Year: 2014
Add a Hard Drive to Citrix XenServer
Adding a new disk in XenServer 6.2 different from the general Linux process. For XenServer 6.2, you need to create a ‘storage repository’ to define a particular storage target, in which Virtual Disk Images (VDIs) of VMs are stored. A VDI is nothing but an abstracted storage space which acts as the hard-disk for VMs. […]
Centos NAT with iptables
To manage NAT properly first thing we need to do is to allow IP FORWARDING so we will edit following file find the following line and change that to once done, please issue following iptables commands
Change the pool master in Xenserver 6
there can be two reasons to change the pool master of a Xenserver either your pool master is not responding or you just want to change the master. If you need to change the pool master in Xenserver because pool master is dead or not responding. you need following Login to any slave (pool master […]
How to deactivate an active partition?
While changing the partition drive letter in Disk Management of Server 2012 I accidentally clicked on “Mark Partition As Active” which is just above the “Change Drive Letter and Path”. And being total ignorant i rebooted my server. And then the world went blank for my server :), but thanks to Microsoft Utility called “DISKPART”. here […]
Chang centOS Time-zone and Update Time U...
I needed to change the timezone of the server from AST to GMT First check your current Time zone with command date Now decide what time zone you want. You can see your timezones now create the link of the time zone you need. Here is example ln -sf /usr/share/zoneinfo/REGION/TIMEZONE /etc/localtime i need to set […]
OneNote Screen Clipping Shortcut Not Wor...
Windows + S combination works for “Screen Clipping” till Windows 8. But when I upgraded to Windows 8.1, I Totally Got LOST…. Same keyword combination brings up the search experience, So Screen Clipping keys(Windows + S) are no longer working in Windows 8.1 To Fix this issue, you need to do either of following Upgrade […]
Task Scheduler stops running scheduled t...
I faced issue with Windows Server 2008 and Server 2012 Task Scheduler stops running scheduled tasks. In windows Server 2008 the Task execution never starts and in Server 2012 Tasks execution stopped after some time. After a Long hair pulling and head banging with Microsoft Forum, I eventually (infect accidently) found the solution. There is […]
PowerShell execute SQL Server SP wtih Pa...
Powershell can easily communicate with SQL Server and can execute Stored Procedures. Following sample code can execute a Stored Procedures with Parameter. if you stored Procedure is returning some data please see the function “getDATAwithSP” described above, Please note above highlighted lines, If you do not store the values returned on above lines functions start […]
File cannot be loaded because the execut...
while executing powershell scripts from command prompt you might face this error “File cannot be loaded because the execution of scripts is disabled on this system” To fix this open Your PowerShell command Prompt and issue following command to check the current execution policy You will see some thing like this Image with if you […]