Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pub:windows_migrate [2021/12/15 20:51] – [passview] derekpub:windows_migrate [2022/02/16 05:50] (current) – [robocopy] derek
Line 1: Line 1:
-{{tag> template}}+==== windows migrate ====
  
-== windows migrate 
  
 +=== robocopy ===
  
-=== robocopy +  * /mir (mirror) /sec /secfix (copy security)  
-* /mir (mirror) /sec /secfix (copy security)  +  * /z /zb (copy in restartable mode/backup mode)  
-* /z /zb (copy in restartable mode/backup mode)  +  * /w:3 /r:3 (wait 3secs/retry 3times) 
-* /w:3 /r:3 (wait 3secs/retry 3times)+  * /move move
  
 +server
  
-server 
 <code dos> <code dos>
 robocopy \\server\share \\server2\company /mir /r:3 /w:3 /sec /secfix /v robocopy \\server\share \\server2\company /mir /r:3 /w:3 /sec /secfix /v
Line 16: Line 16:
 </code> </code>
  
-non-windows server+non-windows server (windows/nas)
  
 <code dos> <code dos>
- 
 net use x: \\192.168.1.2\share Share@123 /user:share net use x: \\192.168.1.2\share Share@123 /user:share
 robocopy \\192.168.1.2\share \\server2\share /mir /np /fft /copy:DT /v robocopy \\192.168.1.2\share \\server2\share /mir /np /fft /copy:DT /v
 pause pause
- 
 </code> </code>
  
 +user
  
-user 
 <code dos> <code dos>
- 
 set SRC=\\Michelle-think\c$\Users\michelle set SRC=\\Michelle-think\c$\Users\michelle
 robocopy "%SRC%" C:\Users\michelle /mir /sec /secfix /w:3 /r:3 /v ^ robocopy "%SRC%" C:\Users\michelle /mir /sec /secfix /w:3 /r:3 /v ^
   /xf ntuser.* /xd "%SRC%\appdata" /xd "%SRC%\Application Data" ^   /xf ntuser.* /xd "%SRC%\appdata" /xd "%SRC%\Application Data" ^
   /xd "%SRC%\OneDrive" "%SRC%\Google Drive" "%SRC%\Dropbox"   /xd "%SRC%\OneDrive" "%SRC%\Google Drive" "%SRC%\Dropbox"
- 
 </code> </code>
  
-=== transwiz +move 
-* Transfer user profile to new PC. https://www.forensit.com/downloads.html+ 
 +  robocopy D:\Users\eddie C:\OLD_PC\eddie /mir /r:1 /w:1 
 + 
 +=== transwiz === 
 + 
 +  * Transfer user profile to new PC. https://www.forensit.com/downloads.html
  
   cd /d c:\drv   cd /d c:\drv
Line 44: Line 45:
   start Transwiz.msi   start Transwiz.msi
  
-=== profwiz +=== profwiz === 
-* similar to moveuser.exe https://www.forensit.com/downloads.html+ 
 +  * similar to moveuser.exe https://www.forensit.com/downloads.html 
 +  * create local admin account 
 +  * MUST REBOOT, login to the local admin 
 +  * make sure can ping the AD domain ''ping domain.local'' 
  
   cd /d c:\drv   cd /d c:\drv
-  wget https://www.forensit.com/Downloads/Profwiz.msi +  curl -O https://www.forensit.com/Downloads/Profwiz.msi 
-  msiexec.exe /i Transwiz.msi+  start Profwiz.msi 
 +   
 +  cd \APPDIR 
 +  profwiz.exe 
 +  
  
-=== nirsoft+=== nirsoft ===
  
-==== produkey +== produkey == 
-* https://www.nirsoft.net/x64_download_package.html + 
-* display product key up to Win7/Office2010 +  * https://www.nirsoft.net/x64_download_package.html 
-* works with some retail Win10/Office2016+  * display product key up to Win7/Office2010 
 +  * works with some retail Win10/Office2016
  
   choco install produkey   choco install produkey
      
-==== passview +== passview == 
-* https://www.nirsoft.net/password_recovery_tools.html + 
-* mail passview +  * https://www.nirsoft.net/password_recovery_tools.html 
-* ie passview+  * mail passview 
 +  * ie passview
  
 Mailpv Mailpv
 * EXCLUDE c:\drv\pass in AV * EXCLUDE c:\drv\pass in AV
 +
 <code dos> <code dos>
 md c:\drv\pass & cd /d c:\drv\pass md c:\drv\pass & cd /d c:\drv\pass
-curl -O https://repo.sxl.net/win/bin/passreccommandline.zip+curl.exe -O https://repo.sxl.net/win/bin/passreccommandline.zip
 7z x -y -pnirsoft123! passreccommandline.zip  7z x -y -pnirsoft123! passreccommandline.zip 
  
Line 78: Line 90:
 netpass /sverhtml netpass.html netpass /sverhtml netpass.html
 WebBrowserPassView /shtml WebBrowserPassView.html WebBrowserPassView /shtml WebBrowserPassView.html
-ping localhost+ping -n 1 localhost
 md html md html
 move /y *.html html move /y *.html html
 start html start html
 </code> </code>
-=== O&O RegEditor ooregedt+ 
 +=== O&O RegEditor ooregedt === 
 * https://www.oo-software.com/en/ooregeditor * https://www.oo-software.com/en/ooregeditor
  
   choco install regeditor   choco install regeditor
   ooregedt   ooregedt
-=== google chrome+=== google chrome ===
  
-old computer +  * old computerexport reg ''HKEY_CURRENT_USER\Software\Google\Chrome\PreferenceMACs'' 
- +  * backup user profile ''C:\Users\%username%\AppData\Local\Google\Chrome\'' 
-export reg +  * use chromepass to backup passwords https://www.nirsoft.net/utils/chromepass.html 
- +  * restore the reg and user profile to new computer
-  HKEY_CURRENT_USER\Software\Google\Chrome\PreferenceMACs +
-   +
-* backup user profile +
- +
-  C:\Users\%username%\AppData\Local\Google\Chrome\+
  
-* use chromepass to backup passwords https://www.nirsoft.net/utils/chromepass.html+=== firefox ===
  
-* restore the reg and user profile to new computer +  * best method: use a filefox account
- +
-=== firefox +
-* best method: use a filefox account+
  
 manual transfer manual transfer
  
 old computer old computer
-* find/backup firefox profiles location + 
-** open ''about:profiles'' in firefox +  * find/backup firefox profiles location 
-** run ''firefox -P'' +    * open ''about:profiles'' in firefox 
-** normally in ''%APPDATA%\Mozilla\Firefox\Profiles\'' +    * run ''firefox -P'' 
-** the one like ''xxxxxxxx.default'' is the default profile, where xxxxx is a random string +    * normally in ''%APPDATA%\Mozilla\Firefox\Profiles\'' 
-* delete the cache before transfer +    * the one like xxxxxxxx.default is the default profile, where xxxxx is a random string 
-** Win 10/8: C:\Users\{user}\AppData\Local\Mozilla\Firefox\Profiles\{profile folder}\cache2 +  * delete the cache before transfer 
-** Win7: C:\Users\{user}\AppData\Local\Mozilla\Firefox\Profiles\{profile folder}\Cache\ +    * Win 10/8: ''C:\Users\{user}\AppData\Local\Mozilla\Firefox\Profiles\{profile folder}\cache2'' 
-** WinXP: C:\Documents and Settings\{user}\Local Settings\Application Data\Mozilla\Firefox\Profiles\{profile folder}\Cache\+    * Win7: ''C:\Users\{user}\AppData\Local\Mozilla\Firefox\Profiles\{profile folder}\Cache\'' 
 +    * WinXP: ''C:\Documents and Settings\{user}\Local Settings\Application Data\Mozilla\Firefox\Profiles\{profile folder}\Cache\''
  
 new computer new computer
-* run Firefox, open the new xxxxx.default location +  * run Firefox, open the new xxxxx.default location 
-* rename xxxxx.default to xxxxx.old +  * rename xxxxx.default to xxxxx.old 
-* restore xxxxx.default to new computer, rename it to match new random string+  * restore xxxxx.default to new computer, rename it to match new random string
  
-=== outlook+=== outlook ===
  
 manage outlook profiles manage outlook profiles
 +
   outlook.exe /manageprofiles   outlook.exe /manageprofiles
  
 export accounts profile export accounts profile
  
-* Outlook 365 / 2016: +  * Outlook 365 / 2016:  
   HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Profiles   HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Profiles
  
-* Outlook 2013: +  * Outlook 2013:  
   HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Profiles   HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Profiles
  
-* Outlook 2010 or earlier versions: +  * Outlook 2010 or earlier versions:  
   HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles   HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles
  
 backup Signatures backup Signatures
-  %APPDATA%\Microsoft\Signatures 
- 
  
 +  %APPDATA%\Microsoft\Signatures