Oct 26 2015

Error Code 80072EE6 Windows Update Error Solution

Category: WindowsFatih Acar @ 11:02

If you receive a 80072EE6 error code when you download an update from Windows Server Update Services in Windows 7 or Windows Server 2008 R2, your update service location can be wrong. You have to control and change with true.

Error

80072EE6 error code when you download an update from Windows Server Update Services.

Solution
Continue reading “Error Code 80072EE6 Windows Update Error Solution”

1,241 total views, 4 views today

Tags: System Administration


Nov 18 2014

How to Copy Only New Files and Changed Files With XCopy on Windows

Category: WindowsFatih Acar @ 17:42

If you want to copy only new files or changed files, you can use xcopy command in batch script file on Windows system.

Copy Only New Files and Changed Files With XCopy

set SourceDir=D:\Source
set TargetDir=F:\Target
xcopy %SourceDir% %TargetDir% /i /d /y

/i /d /y parameters provide that copy only new files and changed files. These detect file modify time changes , but do not notice size changes.

98,840 total views, 170 views today

Tags: System Administration, Windows Batch Script, Windows Server


Nov 14 2014

How to Change Disk Status From Reserved to Online on Windows

Category: VMware,WindowsFatih Acar @ 18:02

I took a clone backup for windows failover cluster system from vmware system which used raw disks. Raw disks automatically converted to vmdk disk via vmware. I restored this clone backup as new standalone server. I started system but my disks were reserved status and I could not use these. I implemented below steps to convert disk status from reserved to online.

Error

diskpart_0

Solution
Continue reading “How to Change Disk Status From Reserved to Online on Windows”

54,636 total views, 48 views today

Tags: Cluster Systems, Disk Status Convert, Reserved Disk to Online Disk, System Administration, Windows Cluster Disks


Nov 12 2014

Configure DNS Alias For Network Share Drive on Windows

Category: WindowsFatih Acar @ 11:34

I did not find network share drives after vmware clone operation from windows cluster fail safe SAP CRM to standalone server. \\fcrmsap drive not found. fcrm1 was my hostname.

On Windows machines, file sharing can work via the computer name, with or without full qualification, or by the IP Address. By default, however, filesharing will not work with arbitrary DNS aliases. To enable filesharing and other Windows services to work with DNS aliases, you must make registry changes as detailed below and reboot the machine.

Solution
Continue reading “Configure DNS Alias For Network Share Drive on Windows”

19,383 total views, 6 views today

Tags: Custom Shared Network Drive, DNS Alias Configure For Network Drive, DNS Name Network Drive, System Administration


Sep 18 2014

Error: Cluster Disk 1 Does Not Support Persistent Reservations.

Category: VMware,WindowsFatih Acar @ 15:21

While I was installing Windows Failover Cluster system, I got an error like “Cluster Disk 1 does not support persistent reservations.”. If you are attempting to set up a Cluster in a Single Host, and the shared disk (or disks) for the cluster is RDM (Raw Device Mapping, or Raw Disk Mapping), in Physical Compatibility Mode. If this is the case, you can either change the disks to Virtual Compatibility mode, or if you wish to use Physical Compatibility Mode, the cluster nodes must be on different hosts. My case was that.

Other Cause For This Error

  • If the storage array is not configured correctly to support SCSI-3 compliant commands.
  • A third-party plug-in is interfering with the SCSI reservation process (such as the PowerPath/VE PSA).
  • If virtual machines are running under the MSCS configuration on two separate ESX/ESXi hosts, and the .vmdk files are on a VMFS datastore which is configured as physical bus sharing mode.

Continue reading “Error: Cluster Disk 1 Does Not Support Persistent Reservations.”

14,374 total views, 5 views today

Tags: Cluster Systems, System Administration, VMware, VMware Administration


Oct 23 2013

Get Before Day Of Date With Windows Batch Script

Category: WindowsFatih Acar @ 10:00

You can use below script to get yeterday of date.

Batch Script

@echo off

set yyyy=

set $tok=1-3
for /f “tokens=1 delims=.:/-, ” %%u in (‘date /t’) do set $d1=%%u
if “%$d1:~0,1%” GTR “9” set $tok=2-4
for /f “tokens=%$tok% delims=.:/-, ” %%u in (‘date /t’) do (
for /f “skip=1 tokens=2-4 delims=/-,().” %%x in (‘echo.^|date’) do (
set %%x=%%u
set %%y=%%v
set %%z=%%w
set $d1=
set $tok=))

if “%yyyy%”==”” set yyyy=%yy%
if /I %yyyy% LSS 100 set /A yyyy=2000 + 1%yyyy% – 100

set CurDate=%mm%/%dd%/%yyyy%
set dayCnt=%1

if “%dayCnt%”==”” set dayCnt=1

REM Substract your days here
set /A dd=1%dd% – 100 – %dayCnt%
set /A mm=1%mm% – 100

:CHKDAY
if /I %dd% GTR 0 goto DONE
set /A mm=%mm% – 1
if /I %mm% GTR 0 goto ADJUSTDAY
set /A mm=12
set /A yyyy=%yyyy% – 1

:ADJUSTDAY
if %mm%==1 goto SET31
if %mm%==2 goto LEAPCHK
if %mm%==3 goto SET31
if %mm%==4 goto SET30
if %mm%==5 goto SET31
if %mm%==6 goto SET30
if %mm%==7 goto SET31
if %mm%==8 goto SET31
if %mm%==9 goto SET30
if %mm%==10 goto SET31
if %mm%==11 goto SET30
REM ** Month 12 falls through

:SET31
set /A dd=31 + %dd%
goto CHKDAY

:SET30
set /A dd=30 + %dd%
goto CHKDAY

:LEAPCHK
set /A tt=%yyyy% %% 4
if not %tt%==0 goto SET28
set /A tt=%yyyy% %% 100
if not %tt%==0 goto SET29
set /A tt=%yyyy% %% 400
if %tt%==0 goto SET29

:SET28
set /A dd=28 + %dd%
goto CHKDAY

:SET29
set /A dd=29 + %dd%
goto CHKDAY

:DONE
if /I %mm% LSS 10 set mm=0%mm%
if /I %dd% LSS 10 set dd=0%dd%

REM Set IIS and AWS date variables
set IISDT=%yyyy:~2,2%%mm%%dd%
set AWSDT=%yyyy%-%mm%-%dd%

echo %IISDT%
echo %AWSDT%

Source : http://www.powercram.com/2010/07/get-yesterdays-date-in-ms-dos-batch.html

58,657 total views, 4 views today

Tags: System Administration, Windows Batch Script, Windows Server


Mar 28 2013

How to Install .Net Framework 3.5 on Windows Server 2012

Category: WindowsFatih Acar @ 10:21

You have to insert Windows Server 2012 DVD into DVD Reader. After you can install .Net FrameWork 3.5.

Installation Steps

  • insert Windows Server 2012 DVD or iso to D Drive.
  • Open Add Roles and Features Wizard From Server Manager.
  • Select .NET Framework 3.5 Features.
  • Select Specify an alternate source path and select path that is D:\Sources\SxS.
  • Finally click Install button.

59,600 total views, no views today

Tags: MsSQL Server, System Administration, Windows Server


Mar 22 2013

Copy Files Without Overwrite Existing Files With xcopy Command on Windows

Category: WindowsFatih Acar @ 17:22

You can use xcopy command for copy and move files. Below command does that it copy files and paste to new destination without overwrite existing files.

xcopy

C:\> xcopy D:\source_dest E:\target_dest /E /D
Note : /E parameter make that it copy files with subfolders
Note : /D parameter make that it copy files without overwrite

290,480 total views, 60 views today

Tags: System Administration, Windows


Mar 12 2013

File Merge With MsDos in Windows

Category: WindowsFatih Acar @ 15:21

If you want to merge files into one file. You can use copy command. For example, you have a directory as name testdir and 10 csv files in testdir. Open cmd prompt.

C:> copy file1.csv+file2.csv+file3.csv commonfile.csv

33,344 total views, 10 views today

Tags: System Administration, Windows


Jul 18 2012

Delete Folders And Files Older Than Specific Day on Windows

Category: WindowsFatih Acar @ 13:17

If you want to delete folder older than specific day, you can use below command. You can add to windows schedule job for schedule run.

Delete Command For Folders

forfiles /p C:\temp\ /c “cmd /c if @isdir==TRUE RMDIR /S /Q @path” /d -30

Delete Command For Files

forfiles -p “C:\temp” -s -m *.* /D -30 /C “cmd /c del @path”

You can change this 30 parameter. This script will delete folder which is older 30 days from c:\temp\ folder.

9,210 total views, 4 views today

Tags: System Administration, Windows


Next Page »