Knowledge Base

Search Our Knowledge Base

Find your answers by searching below.

I have multiple WDS servers, how do I keep everything sync'd?

Print article Email to friend
0.00

Please change <REMOTE_SERVER> with your remote server.  A batch file and scheduled task will need to created for eacher remote server that you want to sync with.

STEP 1:

Download PsService if you don't already have this on your smartImager server.

https://technet.microsoft.com/en-us/sysinternals/psservice.aspx

 

STEP 2:

Create a batch file on your smartImager server that does the following:

(Note: Assumes your psservice is located in C:\_BINWDSCOPY\PSTools\psservice)

----------------------------------------------------------------------

REM Stop Remote WDS Server

NET STOP WDSServer

C:\_BIN\WDSCOPY\PSTools\psservice \\<REMOTE_SERVER> stop WDSServer

REM Copy Needed WDS Files from REMOTEINSTALL directory and create a log file

ROBOCOPY C:\REMOTEINSTALL \\<REMOTE_SERVER>\c$\REMOTEINSTALL /MIR /log:c:\_bin\WDSCOPY\robo<REMOTE_SERVER>mir.txt

REM Start Remote WDS Server

NET START WDSServer

C:\_BINWDSCOPY\PSToolspsservice \\<REMOTE_SERVER> start WDSServer

----------------------------------------------------------------------

STEP 3:

Name the batch file something easy to remember like <REMOTE_SERVER>_WDS_Sync.bat and save it to a new folder {InstallDrive}\Program Files\Sircks\smartImager\Tools\WDSSync or another preferred location.

STEP 4:

Next create a Windows Scheduled Task with the name <REMOTE_SERVER>_WDS_Sync that executes the previously saved bat file and executes during off-peak hours in your environment.

I have multiple WDS servers, how do I keep everything sync'd?

Please change <REMOTE_SERVER> with your remote server.  A batch file and scheduled task will need to created for eacher remote server that you want to sync with.

STEP 1:

Download PsService if you don't already have this on your smartImager server.

https://technet.microsoft.com/en-us/sysinternals/psservice.aspx

 

STEP 2:

Create a batch file on your smartImager server that does the following:

(Note: Assumes your psservice is located in C:\_BINWDSCOPY\PSTools\psservice)

----------------------------------------------------------------------

REM Stop Remote WDS Server

NET STOP WDSServer

C:\_BIN\WDSCOPY\PSTools\psservice \\<REMOTE_SERVER> stop WDSServer

REM Copy Needed WDS Files from REMOTEINSTALL directory and create a log file

ROBOCOPY C:\REMOTEINSTALL \\<REMOTE_SERVER>\c$\REMOTEINSTALL /MIR /log:c:\_bin\WDSCOPY\robo<REMOTE_SERVER>mir.txt

REM Start Remote WDS Server

NET START WDSServer

C:\_BINWDSCOPY\PSToolspsservice \\<REMOTE_SERVER> start WDSServer

----------------------------------------------------------------------

STEP 3:

Name the batch file something easy to remember like <REMOTE_SERVER>_WDS_Sync.bat and save it to a new folder {InstallDrive}\Program Files\Sircks\smartImager\Tools\WDSSync or another preferred location.

STEP 4:

Next create a Windows Scheduled Task with the name <REMOTE_SERVER>_WDS_Sync that executes the previously saved bat file and executes during off-peak hours in your environment.