DancingFerret Posted September 13, 2011 Report post Posted September 13, 2011 Hi, Has anyone setup a NAS device to use while storing UMST data? if you have how did you set it up? or can it it be done? cheers Quote Share this post Link to post Share on other sites More sharing options...
0 The Bronx Bull Posted September 13, 2011 Report post Posted September 13, 2011 I wrote a very quick batch file to help Desktop Support in writing the MIG file to a NAS server. No changes were made to the network share, and it's not running IIS. echo off set server=LionKing set share=statepoint set drive=t: set domain=private.domain set user=sccmnetworkaccount set password=*password* net use %drive% \\%server%\%share% %password% /user:%domain%\%user% /persistent:no if "%errorlevel%"=="0" echo You should now be connected to the State Migration Point. if "%errorlevel%"=="2" echo You are already connected to the State Migration Point. Please continue. :Menu echo. echo ....................................................................................................... echo Please name the folder for your Profile Capture and press enter. echo ....................................................................................................... echo. set /P folder= if "%folder%"=="exit" goto exit if "%folder%"=="cmd" cmd Rem The following line ignores all profile SSIDs that are absent an ntuser.dat file (but still in the registry) SET MIG_IGNORE_PROFILE_MISSING=1 scanstate t:\%folder% /i:miguser.xml /i:migapp.xml /uel:60 if "%errorlevel%"=="0" goto complete if "%errorlevel%" NEQ "0" echo Error: %errorlevel% if "%errorlevel%"=="1" echo Double check that the profile capture completed please.. if "%errorlevel%"=="2" echo Double check that the profile capture completed please.. if "%errorlevel%"=="27" goto dupe :dupe echo A folder with the same name already exists. Please choose another. goto Menu :complete echo Profile Migration should be complete. Location: \\%server%\%share%\%folder% pause :exit exit Then you would do something similar to pull the data back, but with the loadstate.exe and applicable switches. Hard Linking is much better though. Quote Share this post Link to post Share on other sites More sharing options...
Hi,
Has anyone setup a NAS device to use while storing UMST data? if you have how did you set it up? or can it it be done?
cheers
Share this post
Link to post
Share on other sites