Skip to main content

Posts

Showing posts from 2013

Script for File copy Older than X Days | ROBOCOPY Batch file

Hey All,

Issue : One more challenge I faced yesterday.
Robocopy batch files which I scheduled were getting failed with error code 0x1

Observation : All robocopy schedules were getting failed with error code 0x1
One more thing I noticed is that the Task manager was showing multiple instances of Robocopy exe.

Task manager gave way to the solution

Solution : After googling number of forums, I found switch to exit the Robocopy at the end. I added it at the end of command, but it did not work.

It gave error 0x80 :  Quitting : /QUIT Specified on Command Line.

After that I tried one more option. Defining one more line of code and specifying the /QUIT option there.

e.g.
*****************************************************************
@echo off
For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b)
robocopy "\\share\source" "D:\Destination" *.xml /MA…

How to install Hyper-V Role on VMware ESXi Virtual Machine

Problem : 
Can not install Hyper-V Role on VMware Virtual Machine

Environment : 
VMware ESXi 5.X

Solution :

1. Go to ESXi Server Shell by using putty or similar utility.

2. Locate file config in /etc/vmware folder
# cat /etc/vmware/config
libdir = "/usr/lib/vmware"
authd.proxy.vim = "vmware-hostd:hostd-vmdb"
authd.proxy.nfc = "vmware-hostd:ha-nfc"
authd.proxy.nfcssl = "vmware-hostd:ha-nfcssl"
authd.proxy.vpxa-nfcssl = "vmware-vpxa:vpxa-nfcssl"
authd.proxy.vpxa-nfc = "vmware-vpxa:vpxa-nfc"
authd.fullpath = "/sbin/authd"
authd.soapServer = "TRUE"
vmauthd.server.alwaysProxy = "TRUE"

3. Add vhv.allow = "TRUE" entry at the end of file using VI utility, it will look like below :
# cat /etc/vmware/config
libdir = "/usr/lib/vmware"
authd.proxy.vim = "vmware-hostd:hostd-vmdb"
authd.proxy.nfc = "vmware-hostd:ha-nfc"
authd.proxy.nfcssl = "vmware-hostd:ha-nfcssl"
authd.proxy.v…

EMCOPY | ERROR (1722) Unable to get the domain SID info from DomainController

Scenario:

While using EMC Utility EMCOPY following errors get encountered.

Errors : 
- ERROR (1722) : Unable to get the domain SID info from DomainController
- ERROR (1722) : Unable to retrieve the primary group of the default user Domain\User from \\DomainController
- ERROR (1727) : Lookup account sid from \\SHARE failed

Resolution :
- Make sure that the Source and the Destination is pingable.
- Make sure that the DNS Server is having both Source and Destination entries.
- If you dont have permission to do the chages on DNS Server, then you can make HOST File entry of source and destination in C:\Windows\System32\Drivers\etc\Hosts file from where you are running the EMCOPY Command.

Windows Server 2008 R2 always boots in recovery mode

If you are facing below Issues :
- You faced the Windows Server 2008 R2 Clean boot issue
- Windows Server 2008 R2 starts in recovery mode
- After installing windows updates on Windows server 2008 R2 system goes in recovery mode after reboot
- Safe mode also doesn't work in above case and get stuck at classpnp.sys

Then this is the solution for all above:

1. Boot into Windows Recovery Mode
2. Open Command Prompt
3. Type:

sfc /SCANNOW /OFFBOOTDIR=C:\  /OFFWINDIR=C:\Windows

4. Goto following location :

C:\Windows\winsxs\
Check out for pending.xml file.
If it is present, then DELETE it.

5. Reboot the system.

6. Select normal boot mode. 

You have done it!

Karbonn A5 Rooting and Installing ClockworkMod Recovery

Karbonn A5 ClockworkMod Recovery Installation and ROM UpdateInstall ADB Drivers. Plug the USB cable connected to the computer, the computer will notice a new hardware device called TianyuHSUSB, click Next and select "Install from a list or specific location", then click Next.Unzip the downloaded file Driver.zip above, click on "Browse", find the extracted driverRepeat the above steps until the popup window does not appear anymore.http://goo.gl/6xcILContinue to install drivers for your ADB, adb_driver select the folder, click "OK" button, click "Next" to start installing the drivers of ADB. If the driver does not show up the settings window ADB, we can install manually in Device Manager.
Update the Baseband of your Mobile using method mentioned in the Post  http://forum.xda-developers.com/showthread.php?t=2036053If you are not performing above step(Baseband Upgradation), your mobile will not accept the ROMS which you are going to deploy.Instal…
Karbonn A5 Mobile Drivers
Here is the attachment for Drivers which I got from various sources for Karbonn Android Mobiles.

You can use these drivers for Debugging, Modem as well as other number of things

It worked well on Windows 8 Pro.

Mobile Tested : Karbonn A5

Download it From  : http://goo.gl/6xcIL
Thanks n do comment.