Jump to content
Sign in to follow this  
llewxam

User State Migration Tool Front End

Recommended Posts

llewxam

For years I have been coding my own data backup tools, choosing to not use the tools that Microsoft has been bundling with their operating systems. I recently decided to switch tactics and go with USMT, and while I have only used it in real-world break-fix conditions for less than a week, I have decided that it may be the way to go.

There is a lot of fuss about how complicated it is to use. Well, I kinda agree, kinda don't, but decided to put this front end together mainly just to speed up the process. What you will need to do to use it is download the USMT Front End Extras.7z archive and extract that to @ScriptDir prior to compiling. The archive contains 32 and 64 bit versions of USMT 3.01 and USMT 4.01, as well as 7z.exe, 7z.dll, and a few simple JPGs used to pretty up the GUI a bit.

Please read the Technet docs on USMT if you have concerns about the data that it will migrate for you, as the only modification I have made to any of the XML files is to omit migrating Start Menu files, I just can't see the point of that one! Otherwise, all XMLs are bone-stock. Also be aware of the difference between USMT 3.01 and 4.01, click here for a quick reference.

I have also taken the liberty of tweaking the options used to suit my own purposes, which include creating a folder based on repair data used at my shop and specifying things such as /localonly which will exclude network shares etc. Ensure the options used here are what you need, and adjust accordingly!!

 

 

Enjoy!

Ian

 

Edit - Updated code and extras file 06/15/2014, you MUST have the extras file extracted in the script folder to compile!

Edit 02-07-2015 - I cancelled my web hosting service, so I have attached the USMT5extras.zip file to this post.

Edit 03-02-2015 - Put USMT5Extras.zip on mediafire: http://www.mediafire.com/download/p0inmd35o7qkfjq/USMT5extras.zip

USMT5FE8.au3

Edited by llewxam

My projects:

  • IP Scanner - Multi-threaded ping tool to scan your available networks for used and available IP addresses, shows ping times, resolves IPs in to host names, and allows individual IPs to be pinged.
  • INFSniff - Great technicians tool - a tool which scans DriverPacks archives for INF files and parses out the HWIDs to a database file, and rapidly scans the local machine's HWIDs, searches the database for matches, and installs them.
  • PPK3 (Persistent Process Killer V3) - Another for the techs - suppress running processes that you need to keep away, helpful when fighting spyware/viruses.
  • Sync Tool - Folder sync tool with lots of real time information and several checking methods.
  • USMT Front End - Front End for Microsoft's User State Migration Tool, including all files needed for USMT 3.01 and 4.01, 32 bit and 64 bit versions.
  • Audit Tool - Computer audit tool to gather vital hardware, Windows, and Office information for IT managers and field techs. Capabilities include creating a customized site agent.
  • CSV Viewer - Displays CSV files with automatic column sizing and font selection. Lines can also be copied to the clipboard for data extraction.
  • MyDirStat - Lists number and size of files on a drive or specified path, allows for deletion within the app.
  • 2048 Game - My version of 2048, fun tile game.
  • Juice Lab - Ecigarette liquid making calculator.
  • Data Protector - Secure notes to save sensitive information.
  • VHD Footer - Add a footer to a forensic hard drive image to allow it to be mounted or used as a virtual machine hard drive.
  • Find in File - Searches files containing a specified phrase.

Share this post


Link to post
Share on other sites
storme

G'day Ian

Looks good, I like the interface very minimalist. :)

Just curious what happens if you try to migrate an XP user to Windows 7 that uses Outlook Express?

I.E what happens to the Emails?

Does it work from "safe mode"....

Am I right in guessing that this can't be used to a dead system as it has to be run from inside the work OLD system?

If so I can still see a use for your old backup program.

Are you still developing it? If so IM me as I've got a few ideas I'd like to run past you.

Yeah I know I can answer all these by RTFM but you already have. ;)

It's a shame you didn't have this out a few days ago. I coudl have given it a full work out for you. :idiot:

Ahh well there will be another computer coming along soom I'm sure that I can try this on.

Keep up the great work!

John Morrison

aka

Storm-E

Share this post


Link to post
Share on other sites
llewxam

Just curious what happens if you try to migrate an XP user to Windows 7 that uses Outlook Express?

I.E what happens to the Emails?

I'd be lying if I said I knew exactly, don't think I've looked for that scenario, but instict tells me they would import to Windows Mail since I know you can do that.

Does it work from "safe mode"....

Haven't tried that either, but a forum post via Google indicated that it should work.

Am I right in guessing that this can't be used to a dead system as it has to be run from inside the work OLD system?

Wellllll....... USMT 3.01 must be run from the computer you intend to back up from. USMT 4.01 allows the offline mode which can work on a non-booting drive. The annoying thing is that 4.01 will not work on XP, and I still have a lot of machines coming in for repair that have XP, so I find that pretty frustrating. In those cases, the old db5 backup app will get some use.

If so I can still see a use for your old backup program. Are you still developing it? If so IM me as I've got a few ideas I'd like to run past you.

I am not actively working on it, actually haven't touched it since posting it here in November, but if you have suggestions I'm all ears! :)

Thanks!

Ian


My projects:

  • IP Scanner - Multi-threaded ping tool to scan your available networks for used and available IP addresses, shows ping times, resolves IPs in to host names, and allows individual IPs to be pinged.
  • INFSniff - Great technicians tool - a tool which scans DriverPacks archives for INF files and parses out the HWIDs to a database file, and rapidly scans the local machine's HWIDs, searches the database for matches, and installs them.
  • PPK3 (Persistent Process Killer V3) - Another for the techs - suppress running processes that you need to keep away, helpful when fighting spyware/viruses.
  • Sync Tool - Folder sync tool with lots of real time information and several checking methods.
  • USMT Front End - Front End for Microsoft's User State Migration Tool, including all files needed for USMT 3.01 and 4.01, 32 bit and 64 bit versions.
  • Audit Tool - Computer audit tool to gather vital hardware, Windows, and Office information for IT managers and field techs. Capabilities include creating a customized site agent.
  • CSV Viewer - Displays CSV files with automatic column sizing and font selection. Lines can also be copied to the clipboard for data extraction.
  • MyDirStat - Lists number and size of files on a drive or specified path, allows for deletion within the app.
  • 2048 Game - My version of 2048, fun tile game.
  • Juice Lab - Ecigarette liquid making calculator.
  • Data Protector - Secure notes to save sensitive information.
  • VHD Footer - Add a footer to a forensic hard drive image to allow it to be mounted or used as a virtual machine hard drive.
  • Find in File - Searches files containing a specified phrase.

Share this post


Link to post
Share on other sites
storme

I'd be lying if I said I knew exactly, don't think I've looked for that scenario, but instict tells me they would import to Windows Mail since I know you can do that.

Nope :) No "Windows Mail" on windows 7... You have to install "Windows Live Mail" so if you do get a chance to do an xp to windows 7 let me know what happens to the emails...

Wellllll....... USMT 3.01 must be run from the computer you intend to back up from. USMT 4.01 allows the offline mode which can work on a non-booting drive. The annoying thing is that 4.01 will not work on XP, and I still have a lot of machines coming in for repair that have XP, so I find that pretty frustrating. In those cases, the old db5 backup app will get some use.

DAM..... the most likely sinario is that a customer wants to move from an old dead XP computer to a new Windows 7 computer... sigh...

Share this post


Link to post
Share on other sites
llewxam

DAM..... the most likely sinario is that a customer wants to move from an old dead XP computer to a new Windows 7 computer... sigh...

No, that will work fine! :) Again the issue is this - to migrate BACK TO Windows XP you must capture the source using USMT 3.01, since that is the only version able RESTORE to XP, and 3.01 does not support offline use. But, with your scenario, you would be able to use this tool since you are RESTORING to 7! ;)

To summarize, both versions can CAPTURE XP, but only 3.01 will RESTORE to XP. Since you would be migrating to 7, life is good.

Ian

(Oh, and you can not use USMT 3.01 to restore a migration created with USMT 4.01, just to be clear. Using 4.01's offline feature and restoring with 3.01 on XP isn't gonna work!)


My projects:

  • IP Scanner - Multi-threaded ping tool to scan your available networks for used and available IP addresses, shows ping times, resolves IPs in to host names, and allows individual IPs to be pinged.
  • INFSniff - Great technicians tool - a tool which scans DriverPacks archives for INF files and parses out the HWIDs to a database file, and rapidly scans the local machine's HWIDs, searches the database for matches, and installs them.
  • PPK3 (Persistent Process Killer V3) - Another for the techs - suppress running processes that you need to keep away, helpful when fighting spyware/viruses.
  • Sync Tool - Folder sync tool with lots of real time information and several checking methods.
  • USMT Front End - Front End for Microsoft's User State Migration Tool, including all files needed for USMT 3.01 and 4.01, 32 bit and 64 bit versions.
  • Audit Tool - Computer audit tool to gather vital hardware, Windows, and Office information for IT managers and field techs. Capabilities include creating a customized site agent.
  • CSV Viewer - Displays CSV files with automatic column sizing and font selection. Lines can also be copied to the clipboard for data extraction.
  • MyDirStat - Lists number and size of files on a drive or specified path, allows for deletion within the app.
  • 2048 Game - My version of 2048, fun tile game.
  • Juice Lab - Ecigarette liquid making calculator.
  • Data Protector - Secure notes to save sensitive information.
  • VHD Footer - Add a footer to a forensic hard drive image to allow it to be mounted or used as a virtual machine hard drive.
  • Find in File - Searches files containing a specified phrase.

Share this post


Link to post
Share on other sites
llewxam

First post updated with a bugfix in handling offline drives, I just got a chance to use it in real life for the first time and.....well, yeah, it works better now :)

Ian


My projects:

  • IP Scanner - Multi-threaded ping tool to scan your available networks for used and available IP addresses, shows ping times, resolves IPs in to host names, and allows individual IPs to be pinged.
  • INFSniff - Great technicians tool - a tool which scans DriverPacks archives for INF files and parses out the HWIDs to a database file, and rapidly scans the local machine's HWIDs, searches the database for matches, and installs them.
  • PPK3 (Persistent Process Killer V3) - Another for the techs - suppress running processes that you need to keep away, helpful when fighting spyware/viruses.
  • Sync Tool - Folder sync tool with lots of real time information and several checking methods.
  • USMT Front End - Front End for Microsoft's User State Migration Tool, including all files needed for USMT 3.01 and 4.01, 32 bit and 64 bit versions.
  • Audit Tool - Computer audit tool to gather vital hardware, Windows, and Office information for IT managers and field techs. Capabilities include creating a customized site agent.
  • CSV Viewer - Displays CSV files with automatic column sizing and font selection. Lines can also be copied to the clipboard for data extraction.
  • MyDirStat - Lists number and size of files on a drive or specified path, allows for deletion within the app.
  • 2048 Game - My version of 2048, fun tile game.
  • Juice Lab - Ecigarette liquid making calculator.
  • Data Protector - Secure notes to save sensitive information.
  • VHD Footer - Add a footer to a forensic hard drive image to allow it to be mounted or used as a virtual machine hard drive.
  • Find in File - Searches files containing a specified phrase.

Share this post


Link to post
Share on other sites
storme

No, that will work fine! :) Again the issue is this - to migrate BACK TO Windows XP you must capture the source using USMT 3.01, since that is the only version able RESTORE to XP, and 3.01 does not support offline use. But, with your scenario, you would be able to use this tool since you are RESTORING to 7! :idiot:

To summarize, both versions can CAPTURE XP, but only 3.01 will RESTORE to XP. Since you would be migrating to 7, life is good.

Ian

(Oh, and you can not use USMT 3.01 to restore a migration created with USMT 4.01, just to be clear. Using 4.01's offline feature and restoring with 3.01 on XP isn't gonna work!)

OK that makes sense now. 4 can make backups of everything but can only restore to the new systems. Gotcha!

M$ would do that as they want everyone to move up and not stay with the "old" stuff.

I'm even contemplating moving to Windows 7 now..... but I do love my old XP... ;)

Edited by storme

Share this post


Link to post
Share on other sites
llewxam

Does it work from "safe mode"....

We just had a chance to test this in the real world for the first time, Safe Mode on XP worked like a champ.

Ian


My projects:

  • IP Scanner - Multi-threaded ping tool to scan your available networks for used and available IP addresses, shows ping times, resolves IPs in to host names, and allows individual IPs to be pinged.
  • INFSniff - Great technicians tool - a tool which scans DriverPacks archives for INF files and parses out the HWIDs to a database file, and rapidly scans the local machine's HWIDs, searches the database for matches, and installs them.
  • PPK3 (Persistent Process Killer V3) - Another for the techs - suppress running processes that you need to keep away, helpful when fighting spyware/viruses.
  • Sync Tool - Folder sync tool with lots of real time information and several checking methods.
  • USMT Front End - Front End for Microsoft's User State Migration Tool, including all files needed for USMT 3.01 and 4.01, 32 bit and 64 bit versions.
  • Audit Tool - Computer audit tool to gather vital hardware, Windows, and Office information for IT managers and field techs. Capabilities include creating a customized site agent.
  • CSV Viewer - Displays CSV files with automatic column sizing and font selection. Lines can also be copied to the clipboard for data extraction.
  • MyDirStat - Lists number and size of files on a drive or specified path, allows for deletion within the app.
  • 2048 Game - My version of 2048, fun tile game.
  • Juice Lab - Ecigarette liquid making calculator.
  • Data Protector - Secure notes to save sensitive information.
  • VHD Footer - Add a footer to a forensic hard drive image to allow it to be mounted or used as a virtual machine hard drive.
  • Find in File - Searches files containing a specified phrase.

Share this post


Link to post
Share on other sites
llewxam

First post updated with new code. Among the simple changes are some variable and function names are different, also changed the wording in the Question routine.

A bigger change, and something that may serve as a handy "cheat" for offline XP usage, is I now have the /nocompress option set as default. I initially did that just for speed, but today during some testing I realized that you can just browse the data being saved with the /nocompress option being used, it isn't packaged in any way. Well, that makes me think that you could offline a non-booting XP hard drive with this tool using the /nocompress option, wipe/reload, then just manually recreate the user accounts and copy the data over! I will hopefully get a chance to try it soon, as this is a fairly common situation.

Another bugfix was in the restoration of /nocompress backups, previously I forgot to look for that when restoring so it is now addressed.

Enjoy

Ian


My projects:

  • IP Scanner - Multi-threaded ping tool to scan your available networks for used and available IP addresses, shows ping times, resolves IPs in to host names, and allows individual IPs to be pinged.
  • INFSniff - Great technicians tool - a tool which scans DriverPacks archives for INF files and parses out the HWIDs to a database file, and rapidly scans the local machine's HWIDs, searches the database for matches, and installs them.
  • PPK3 (Persistent Process Killer V3) - Another for the techs - suppress running processes that you need to keep away, helpful when fighting spyware/viruses.
  • Sync Tool - Folder sync tool with lots of real time information and several checking methods.
  • USMT Front End - Front End for Microsoft's User State Migration Tool, including all files needed for USMT 3.01 and 4.01, 32 bit and 64 bit versions.
  • Audit Tool - Computer audit tool to gather vital hardware, Windows, and Office information for IT managers and field techs. Capabilities include creating a customized site agent.
  • CSV Viewer - Displays CSV files with automatic column sizing and font selection. Lines can also be copied to the clipboard for data extraction.
  • MyDirStat - Lists number and size of files on a drive or specified path, allows for deletion within the app.
  • 2048 Game - My version of 2048, fun tile game.
  • Juice Lab - Ecigarette liquid making calculator.
  • Data Protector - Secure notes to save sensitive information.
  • VHD Footer - Add a footer to a forensic hard drive image to allow it to be mounted or used as a virtual machine hard drive.
  • Find in File - Searches files containing a specified phrase.

Share this post


Link to post
Share on other sites
storme

I used an old verison of the front end and it backed up ok but wouldn't restore.

Well not quite true. :)

I was going from XP to Win7 and the dront end looked like it may have hit an error but it was too quick.

When I simply clicked the backup file win7 installed the files for me. ;)

So looks like there may be some syntax problem with teh frontend program. :idiot:

Source : XP (backup done from here)

Destination : Win7

Compression : ON

But looks great!

THANKS

John Morrison

Share this post


Link to post
Share on other sites
llewxam

I used an old verison of the front end and it backed up ok but wouldn't restore.

Well not quite true. :)

I was going from XP to Win7 and the dront end looked like it may have hit an error but it was too quick.

When I simply clicked the backup file win7 installed the files for me. ;)

So looks like there may be some syntax problem with teh frontend program. :idiot:

Source : XP (backup done from here)

Destination : Win7

Compression : ON

But looks great!

THANKS

John Morrison

FYI, when (hopefully never :idiot: ) there is an error, see the log file that is created in the location where the save is going to ($TargetPath). That will reveal any syntax errors. I have found several since posting the first version, which is why I keep updating it. This is one of those tools where I couldn't test everything prior to posting but am diligent in fixing issues as they happen.

Ian


My projects:

  • IP Scanner - Multi-threaded ping tool to scan your available networks for used and available IP addresses, shows ping times, resolves IPs in to host names, and allows individual IPs to be pinged.
  • INFSniff - Great technicians tool - a tool which scans DriverPacks archives for INF files and parses out the HWIDs to a database file, and rapidly scans the local machine's HWIDs, searches the database for matches, and installs them.
  • PPK3 (Persistent Process Killer V3) - Another for the techs - suppress running processes that you need to keep away, helpful when fighting spyware/viruses.
  • Sync Tool - Folder sync tool with lots of real time information and several checking methods.
  • USMT Front End - Front End for Microsoft's User State Migration Tool, including all files needed for USMT 3.01 and 4.01, 32 bit and 64 bit versions.
  • Audit Tool - Computer audit tool to gather vital hardware, Windows, and Office information for IT managers and field techs. Capabilities include creating a customized site agent.
  • CSV Viewer - Displays CSV files with automatic column sizing and font selection. Lines can also be copied to the clipboard for data extraction.
  • MyDirStat - Lists number and size of files on a drive or specified path, allows for deletion within the app.
  • 2048 Game - My version of 2048, fun tile game.
  • Juice Lab - Ecigarette liquid making calculator.
  • Data Protector - Secure notes to save sensitive information.
  • VHD Footer - Add a footer to a forensic hard drive image to allow it to be mounted or used as a virtual machine hard drive.
  • Find in File - Searches files containing a specified phrase.

Share this post


Link to post
Share on other sites
llewxam

gggrrrrr, another very minor tweak had to be made for the /offlinewindor flag, but it is working and that is what matters :)

Any users, please update!

Thanks

Ian


My projects:

  • IP Scanner - Multi-threaded ping tool to scan your available networks for used and available IP addresses, shows ping times, resolves IPs in to host names, and allows individual IPs to be pinged.
  • INFSniff - Great technicians tool - a tool which scans DriverPacks archives for INF files and parses out the HWIDs to a database file, and rapidly scans the local machine's HWIDs, searches the database for matches, and installs them.
  • PPK3 (Persistent Process Killer V3) - Another for the techs - suppress running processes that you need to keep away, helpful when fighting spyware/viruses.
  • Sync Tool - Folder sync tool with lots of real time information and several checking methods.
  • USMT Front End - Front End for Microsoft's User State Migration Tool, including all files needed for USMT 3.01 and 4.01, 32 bit and 64 bit versions.
  • Audit Tool - Computer audit tool to gather vital hardware, Windows, and Office information for IT managers and field techs. Capabilities include creating a customized site agent.
  • CSV Viewer - Displays CSV files with automatic column sizing and font selection. Lines can also be copied to the clipboard for data extraction.
  • MyDirStat - Lists number and size of files on a drive or specified path, allows for deletion within the app.
  • 2048 Game - My version of 2048, fun tile game.
  • Juice Lab - Ecigarette liquid making calculator.
  • Data Protector - Secure notes to save sensitive information.
  • VHD Footer - Add a footer to a forensic hard drive image to allow it to be mounted or used as a virtual machine hard drive.
  • Find in File - Searches files containing a specified phrase.

Share this post


Link to post
Share on other sites
NDog

Tried using your tool to migrate from xp box to windows 7 laptop today

1) plug in external USB 500GB hard disk with existing 400GB of data into Windows XP box, logged onto the user profile I wanted to backup

2) run the backup xp->7 option

3) Backup backed up c$ and user related files, however it started backing up the d$ (external usb drive), which has no information related to the profile, so I closed the usmt front end + the DOS window

4) plug in external USB drive to Windows 7 and start restore. Popped up for about 40 seconds then disappeared saying process completed.

This didn't work for me so I think you need to consider the syntax regarding external USB drives perhaps?

Another question

Could I use a USB drive caddy to plug an existing windows xp drive and do a straight restore to an existing windows 7 platform and SELECT the user profile I wanted to restore (to the current Windows 7 profile).. very nice

Thanks for your hard works

Share this post


Link to post
Share on other sites
llewxam

Tried using your tool to migrate from xp box to windows 7 laptop today

1) plug in external USB 500GB hard disk with existing 400GB of data into Windows XP box, logged onto the user profile I wanted to backup

2) run the backup xp->7 option

3) Backup backed up c$ and user related files, however it started backing up the d$ (external usb drive), which has no information related to the profile, so I closed the usmt front end + the DOS window

4) plug in external USB drive to Windows 7 and start restore. Popped up for about 40 seconds then disappeared saying process completed.

This didn't work for me so I think you need to consider the syntax regarding external USB drives perhaps?

Another question

Could I use a USB drive caddy to plug an existing windows xp drive and do a straight restore to an existing windows 7 platform and SELECT the user profile I wanted to restore (to the current Windows 7 profile).. very nice

Thanks for your hard works

Kinda, but not quite, good news for you.....

First, unfortunately USMT does not allow being as specific as telling it to only back up certain profiles, so I saw where you were going once you said "logged onto the user profile I wanted to backup". USMT is all-or-nothing. I think the reason it failed to restore is that once you cancelled the backup process, the catalog file would have been damaged and the restoration would have failed.

What you COULD do in the situation where you want to only RESTORE certain profiles is use the USMT Front End to create the backup, being sure to ENABLE the compression option and choosing the XP-Vista/7 option, then allow the backup to finish. Then on the 7 machine, just double-click the .MIG file and the "Windows Easy Transfer" tool will open. By default USMT (and therefore this tool) will automatically create and import any user accounts that do not yet exist, but with Windows Easy Transfer you can choose which to import.

The above steps may have been more work than necessary if all you cared about was your data, as USMT is also designed to handle things such as emails, contacts, and system settings. If all you needed to do was copy some user data from an old profile to a new one, allow a shameless plug and try my Sync Tool, which I have just posted a minor update to... :)

Thanks!

Ian

Edited by llewxam

My projects:

  • IP Scanner - Multi-threaded ping tool to scan your available networks for used and available IP addresses, shows ping times, resolves IPs in to host names, and allows individual IPs to be pinged.
  • INFSniff - Great technicians tool - a tool which scans DriverPacks archives for INF files and parses out the HWIDs to a database file, and rapidly scans the local machine's HWIDs, searches the database for matches, and installs them.
  • PPK3 (Persistent Process Killer V3) - Another for the techs - suppress running processes that you need to keep away, helpful when fighting spyware/viruses.
  • Sync Tool - Folder sync tool with lots of real time information and several checking methods.
  • USMT Front End - Front End for Microsoft's User State Migration Tool, including all files needed for USMT 3.01 and 4.01, 32 bit and 64 bit versions.
  • Audit Tool - Computer audit tool to gather vital hardware, Windows, and Office information for IT managers and field techs. Capabilities include creating a customized site agent.
  • CSV Viewer - Displays CSV files with automatic column sizing and font selection. Lines can also be copied to the clipboard for data extraction.
  • MyDirStat - Lists number and size of files on a drive or specified path, allows for deletion within the app.
  • 2048 Game - My version of 2048, fun tile game.
  • Juice Lab - Ecigarette liquid making calculator.
  • Data Protector - Secure notes to save sensitive information.
  • VHD Footer - Add a footer to a forensic hard drive image to allow it to be mounted or used as a virtual machine hard drive.
  • Find in File - Searches files containing a specified phrase.

Share this post


Link to post
Share on other sites
storme

G'day Ian

I've been using this a bit lately and I love it! Much better than old systems.

I have had a few problems (listed below) but I've taken the precaution of using your backup program to give me another source just in case everything goes bad.

Areas that I had problems. (Isn't there always :))

  • Sometimes 1/2 creates new users
  • Sometimes doesn't copy Email into the right place/program
  • Needs some Error checking on the output of the program (maybe just a text window)
Sorry I don't have details on all this it's been a bit hectic and I was rushing through. :P Here is what I remember.

1. Sometimes the restore process only 1/2 creates users being restored from the backup.

All the files are under the user name, The name isn't on the logon screen and the user name can't be used to create another user.

Have you seen this?

2. EMail not copied over corrently. If the original system is XP and the new is Win7 the system doesn't import the mail to Windows live mail. BUT it does put it where Outlook Express "could" find it IF OE could be installed on Win7.

Maybe this needs some post restore script to fix it.

3. When selecting the restore directory I didn't understand what directory I was to select (I know now). However, the program took the selection tried to run it and came up "finished" and exited. Leaving me me with no explaination of why it didn't do anything.

Same thing with the offline backup. I kept selecting C: not C:\Windows and wonding why it didn't work (YES I did read the info on the screen...AFTER :))

Anyway thought you should know about them. Keep up the great work!

John Morrison

P.S

What's happening with inf program? or/and the updater?

One (XP/7) of the restores doesn't work because there is a XML file missing from the USMT directory. I think it was a ?DOC? XML file.

I eventually grabbed the command line from the program (After thinking I had messed up somehow)) and from that worked out what XML was missing.

Share this post


Link to post
Share on other sites
llewxam

Thanks as always for the feedback! I started putting together a different Front End, which would have a Simple interface (basically the one used now) and an Advanced interface where ALL options could be adjusted. Unfortunately that all required a bit more restructuring than I wanted, so I haven't touched it in a few weeks....

The problems you mentioned have only come up once or twice for me, and I think those were both on occasions where I used the Offline mode in order to pull data from a machine that could not boot. The annoying thing about when problems arise is I really can't do anything about it, as this is just a GUI for an MS tool, and all of the actual work is done on their end. When it works great it is awesome, when it doesn't....we have to go back to older ways.

One thing I am doing now (and have set as default on my test build versions) is I ALWAYS run the backup now Uncompressed - this is quite a bit quicker to do the backup, and the files can be browsed through easily even from an XP machine in the event that an automatic Restore doesn't go so well. On XP, I usually end up manually creating the user accounts, logging in to make Windows create a folder structure, and moving the backups myself. For Vista/7, I have no problems (mentally, that is) with using LoadState (auto Restore).

As for the driver tool, I have your code for the updater ready to go, and am just waiting on KickArse to contribute some parsing code so the scan results are more accurate. Sorry, hopefully that will happen soon.

Thanks!

Ian


My projects:

  • IP Scanner - Multi-threaded ping tool to scan your available networks for used and available IP addresses, shows ping times, resolves IPs in to host names, and allows individual IPs to be pinged.
  • INFSniff - Great technicians tool - a tool which scans DriverPacks archives for INF files and parses out the HWIDs to a database file, and rapidly scans the local machine's HWIDs, searches the database for matches, and installs them.
  • PPK3 (Persistent Process Killer V3) - Another for the techs - suppress running processes that you need to keep away, helpful when fighting spyware/viruses.
  • Sync Tool - Folder sync tool with lots of real time information and several checking methods.
  • USMT Front End - Front End for Microsoft's User State Migration Tool, including all files needed for USMT 3.01 and 4.01, 32 bit and 64 bit versions.
  • Audit Tool - Computer audit tool to gather vital hardware, Windows, and Office information for IT managers and field techs. Capabilities include creating a customized site agent.
  • CSV Viewer - Displays CSV files with automatic column sizing and font selection. Lines can also be copied to the clipboard for data extraction.
  • MyDirStat - Lists number and size of files on a drive or specified path, allows for deletion within the app.
  • 2048 Game - My version of 2048, fun tile game.
  • Juice Lab - Ecigarette liquid making calculator.
  • Data Protector - Secure notes to save sensitive information.
  • VHD Footer - Add a footer to a forensic hard drive image to allow it to be mounted or used as a virtual machine hard drive.
  • Find in File - Searches files containing a specified phrase.

Share this post


Link to post
Share on other sites
storme

Thanks as always for the feedback! I started putting together a different Front End, which would have a Simple interface (basically the one used now) and an Advanced interface where ALL options could be adjusted. Unfortunately that all required a bit more restructuring than I wanted, so I haven't touched it in a few weeks....

No Problem. I understand perfectly.

The problems you mentioned have only come up once or twice for me, and I think those were both on occasions where I used the Offline mode in order to pull data from a machine that could not boot. The annoying thing about when problems arise is I really can't do anything about it, as this is just a GUI for an MS tool, and all of the actual work is done on their end. When it works great it is awesome, when it doesn't....we have to go back to older ways.

yeah I think it was off-line that caused the problem here too.

That is why I suggested you capture the output from USMT and display that for the user OR better parse it to see if there is a fault.

One thing I am doing now (and have set as default on my test build versions) is I ALWAYS run the backup now Uncompressed - this is quite a bit quicker to do the backup, and the files can be browsed through easily even from an XP machine in the event that an automatic Restore doesn't go so well. On XP, I usually end up manually creating the user accounts, logging in to make Windows create a folder structure, and moving the backups myself. For Vista/7, I have no problems (mentally, that is) with using LoadState (auto Restore).

I think uncommpressed is a great idea and would help with the "email problem" I outlined in the last email as it's accessable to import.

The User Creation problem I've run into a few times now. The biggest problem is you can't create the user that was only 1/2 created.

HMM wouldn't be hard to write a user creator prepressor.........OOPS I siad that last time.

Maybe I'll dig arround and find the code I made up last time to create users. If you're interested.

As for the driver tool, I have your code for the updater ready to go, and am just waiting on KickArse to contribute some parsing code so the scan results are more accurate. Sorry, hopefully that will happen soon.

No problem as long as it's moving forward. :)

I'm using it more and more and it's annoying to have no feedback with the updates. But I didn't want to add it if you were doign something. :)

Thanks for the reply

John Morrison

Share this post


Link to post
Share on other sites
hnyr

helloo sir

i installed autoit v3 and trying to make this script working but it is not working and even does not start

how to make it works (opened the file and compile it but still not even starts) is there a settings need to manitain to make it starts????

thank u

Share this post


Link to post
Share on other sites
llewxam

helloo sir

i installed autoit v3 and trying to make this script working but it is not working and even does not start

how to make it works (opened the file and compile it but still not even starts) is there a settings need to manitain to make it starts????

thank u

Did you download the extras archive linked in the first post? That must be downloaded and extracted to the script folder in order for it to work properly.

Ian


My projects:

  • IP Scanner - Multi-threaded ping tool to scan your available networks for used and available IP addresses, shows ping times, resolves IPs in to host names, and allows individual IPs to be pinged.
  • INFSniff - Great technicians tool - a tool which scans DriverPacks archives for INF files and parses out the HWIDs to a database file, and rapidly scans the local machine's HWIDs, searches the database for matches, and installs them.
  • PPK3 (Persistent Process Killer V3) - Another for the techs - suppress running processes that you need to keep away, helpful when fighting spyware/viruses.
  • Sync Tool - Folder sync tool with lots of real time information and several checking methods.
  • USMT Front End - Front End for Microsoft's User State Migration Tool, including all files needed for USMT 3.01 and 4.01, 32 bit and 64 bit versions.
  • Audit Tool - Computer audit tool to gather vital hardware, Windows, and Office information for IT managers and field techs. Capabilities include creating a customized site agent.
  • CSV Viewer - Displays CSV files with automatic column sizing and font selection. Lines can also be copied to the clipboard for data extraction.
  • MyDirStat - Lists number and size of files on a drive or specified path, allows for deletion within the app.
  • 2048 Game - My version of 2048, fun tile game.
  • Juice Lab - Ecigarette liquid making calculator.
  • Data Protector - Secure notes to save sensitive information.
  • VHD Footer - Add a footer to a forensic hard drive image to allow it to be mounted or used as a virtual machine hard drive.
  • Find in File - Searches files containing a specified phrase.

Share this post


Link to post
Share on other sites
ericjensen

Getting 404 when trying to download the extras :oops:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • Pricehacker
      By Pricehacker
      Hello again!
      I have tried searching for quite some time now but couldn´t find a single working way to change the class of your GUI that doesn´t include changing it manually after its compilation.
      First or "AutoIt v3 GUI" is a pretty boring name tbh and i would like to spice it up a bit, also, and more importantly, I would like to identify my windows by something other than its title as it will change depending on some factors and im using two different programs independently as multi threading isn't supported.
      Any help is appreciated! Thank you!
    • xtcislove
      By xtcislove
      Hello, 
      i have a Problem with  _WinAPI_SetLayeredWindowAttributes, everything is working as excepted if u are on Windows 7.

      But if u are on Windows 10 the transparent background of a control is not clickable anymore. 

      Could someone help?

      Please see example below, put cmd.jpg into the same folder as Example.au3

      Please see trigger.jpg to see which sections are not clickable in Windows 10 (the red dots, the green dots are clickable) on Windows 7 the red ones and green ones are clickable.
       
      The same problem occurs if i use 
       
       
      Example.au3


    • WilliamasKumeliukas
      By WilliamasKumeliukas
      Hello everyones reading this post,
      I'm struggling at resizing properly my radio buttons to fit long text inside without affecting others radio buttons and also adjust position of them relative to the string.
      I tried with _StringSize UDF but I guess im too tired to figure out how to use it correctly..
      I also tried: _Control_SetWidth2Text I found on this forum, it work aslong im not maximizing GUI (radio text is gone when I maximize and maximize is a must)
       
      here is the code example, I hope someone can figure out (sorry if guictrlsetpos is not included in the example, I know thats probably the way to go but I wanted to make sure there is nothing better before use it)
      Thank you
       
      Br,
      ~WilliamasKumeliukas
       
      #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <Array.au3> #include <StringConstants.au3> #include <FileConstants.au3> #include <WindowsConstants.au3> #include <File.au3> #include <EditConstants.au3> #include <GUIListBox.au3> #include <ButtonConstants.au3> #include <ProgressConstants.au3> #include <ColorConstants.au3> #include <AutoitConstants.au3> #include <Misc.au3> #include <WinAPIReg.au3> #include <WinAPI.au3> #Region Opt's Opt("GUIResizeMode", 802) #EndRegion Opt's Global $q = "INTRO LINE" & @CRLF & @CRLF & "description of everything until user press start." Global $file = @TempDir & "\test.p" destroy() Global $msg, $score = 0, $rate, $com, $total = 0, $cfile, $cq, $i = 0, $time = 0, $min = 0, $sec = 0, $hour = 0, $qf, $ii = 0 Main() Func Main() Global $iGUIInitSize = 550 #Region GUI Opt("GUICloseOnEsc", 1) Global $gui = GUICreate("example", 1124, 550,-1 ,-1, BitOR($WS_MAXIMIZEBOX , $WS_MINIMIZEBOX)) Global $gui_size = WinGetClientSize($gui) Global $iFontSize = Int(2 * (.25 + (8 * $gui_size[0] / $iGUIInitSize))) / 2 Global $options = GUICtrlCreateMenu("&Options") Global $guide = GUICtrlCreateMenuItem("Guide", $options) Global $restart = GUICtrlCreateMenuItem("Restart", $options) Global $about = GUICtrlCreateMenuItem("About", $options) Global $exit = GUICtrlCreateMenuItem("Exit", $options) Global $extra = GUICtrlCreateMenu("Extras") Global $creator = GUICtrlCreateMenu("CQB", $extra ) Global $new = GUICtrlCreateMenuItem("custom QP", $creator) Global $load = GUICtrlCreateMenuItem("CQ", $creator ) Global $timer = GUICtrlCreateLabel("", 752, 472, 294, 30, $WS_BORDER) GUICtrlSetResizing(-1, BitOR($GUI_DOCKHCENTER, $GUI_DOCKVCENTER) ) GUICtrlSetFont(-1, $iFontSize) GUICtrlSetState($timer, $GUI_HIDE) Global $info = GUICtrlCreateLabel( $q, 200, 20, 700, 200, $SS_CENTER ) GUICtrlSetResizing(-1, BitOR($GUI_DOCKHCENTER, $GUI_DOCKVCENTER) ) $fi = GUICtrlSetFont($info, $iFontSize) Global $a = GUICtrlCreateRadio("A)", 100, 210, $WS_EX_CLIENTEDGE) $fa = GUICtrlSetFont($a, 15) GUICtrlSetResizing(-1, BitOR($GUI_DOCKHCENTER, $GUI_DOCKVCENTER) ) GUICtrlSetState($a, 16) Global $b = GUICtrlCreateRadio("B)", 100, 310 , $WS_EX_CLIENTEDGE) $fb = GUICtrlSetFont($b, 15) GUICtrlSetResizing(-1, BitOR($GUI_DOCKHCENTER, $GUI_DOCKVCENTER) ) GUICtrlSetState($b, 16) Global $c = GUICtrlCreateRadio("C)", 750, 210 , $WS_EX_CLIENTEDGE) $fc = GUICtrlSetFont($c, 15) GUICtrlSetResizing(-1, BitOR($GUI_DOCKHCENTER, $GUI_DOCKVCENTER) ) GUICtrlSetState($c, 16) Global $d = GUICtrlCreateRadio( "D) ", 750, 310, $WS_EX_CLIENTEDGE) $fd = GUICtrlSetFont($d, 15) GUICtrlSetResizing (-1, BitOR($GUI_DOCKHCENTER, $GUI_DOCKVCENTER) ) GUICtrlSetState($d, 16) Global $sign = GUICtrlCreateLabel( $file, 420, 480, -1, -1, BitOR ( $SS_CENTER, $WS_BORDER ) ) GUICtrlSetResizing ( -1, BitOR ( $GUI_DOCKHCENTER, $GUI_DOCKVCENTER ) ) GUICtrlSetFont($sign, 12) Global $yb = GUICtrlCreateRadio("True", 200, 420, 200, 50, $BS_PUSHLIKE) GUICtrlSetResizing(-1, BitOR($GUI_DOCKHCENTER, $GUI_DOCKVCENTER,$GUI_DOCKSIZE)) GUICtrlSetFont($yb, 15) GUICtrlSetState($yb, 32) Global $nb = GUICtrlCreateRadio("False", 700, 420, 200, 50, $BS_PUSHLIKE) GUICtrlSetResizing(-1, BitOR($GUI_DOCKHCENTER, $GUI_DOCKVCENTER, $GUI_DOCKSIZE)) GUICtrlSetFont($nb, 15) GUICtrlSetState($nb, 32) Global $start = GUICtrlCreateButton("Start", 20, 20, 100, 50, $SS_CENTER, $WS_EX_CLIENTEDGE) GUICtrlSetResizing(-1, BitOR($GUI_DOCKHCENTER, $GUI_DOCKVCENTER)) GUICtrlSetFont($start, 12) Global $valid = GUICtrlCreateButton("Confirm", 20, 20, 100, 50, $SS_CENTER, $WS_EX_CLIENTEDGE) GUICtrlSetResizing(-1, BitOR($GUI_DOCKHCENTER, $GUI_DOCKVCENTER)) GUICtrlSetFont($valid, 12) GUICtrlSetState($valid, 32) GUISetState(@SW_SHOW) #EndRegion GUI While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Switch MsgBox(4096 + 4, "Warning", "Are you sure to exit?") Case 6 AdlibUnRegister("timer") If Not $qf = "" Then FileClose($file) EndIf Exit Case 7 ContinueLoop EndSwitch Case $start ;AdlibRegister("timer") ;Global $qf = StringSplit(StringStripWS(FileRead($file), 6), @CRLF, 0) ;qloop($file) GUICtrlSetData($a, "A) This long string is an example as string that I want to fit in 4 radio buttons because sometimes it can be that long.") GUICtrlSetData($b, "B) This long string is an example as string that I want to fit in 4 radio buttons because sometimes it can be that long.") GUICtrlSetData($c, "C) This long string is an example as string that I want to fit in 4 radio buttons because sometimes it can be that long.") GUICtrlSetData($d, "D) This long string is an example as string that I want to fit in 4 radio buttons because sometimes it can be that long.") Case $restart MsgBox(4096, "Warning", 'Normally, your suposed to start something before restarting it.') ContinueLoop Case $new ;GUISetState(@SW_HIDE, $gui) ;_CustomNew() ContinueLoop Case $load ;_CustomLoad() Case $about ;_About() EndSwitch WEnd EndFunc ;Main() Func timer() If $time = 0 Then Global $time = TimerInit() Global $diff = TimerDiff($time) Global $sec = Int(Mod($diff / 1000, 60)) Global $min = Int(Mod($diff / 60000, 60)) Global $hour = Int($diff / 3600000) If $sec < 10 Then $sec = "0" & $sec If $min < 10 Then $min = "0" & $min If $hour < 10 Then $hour = "0" & $hour GUICtrlSetData($timer, "Temps: " & $hour & ":" & $min & ":" & $sec) EndFunc ;==>timer Func destroy() If FileExists($file) Then FileDelete($file) EndIf DirCreate(@TempDir & "\About") FileInstall("C:\test.txt", $file) EndFunc ;==>destroy  
    • xtcislove
      By xtcislove
      Hello,

      im searching like 6 hours and i didnt found the right solution.

      Im trying to build a treeview from a directory and its subfolders etc.

      This function give me right treeview, but i cant color each item seperated.

       
      #include <GuiTreeView.au3> $hGui = GUICreate("Demo1", 600, 400) $hTreeView = _GUICtrlTreeView_Create($hGui, 10, 10, 580, 380) GUISetState() _GUICtrlTreeView_BeginUpdate($hTreeView) ListFiles_ToTreeView(@ScriptDir, 0) _GUICtrlTreeView_EndUpdate($hTreeView) Do Until GUIGetMsg() = -3 Func ListFiles_ToTreeView($sSourceFolder, $hItem) Local $sFile ; Force a trailing \ If StringRight($sSourceFolder, 1) <> "\" Then $sSourceFolder &= "\" ; Start the search Local $hSearch = FileFindFirstFile($sSourceFolder & "*.*") ; If no files found then return If $hSearch = -1 Then Return ; This is where we break the recursive loop <<<<<<<<<<<<<<<<<<<<<<<<<< ; Now run through the contents of the folder While 1 ; Get next match $sFile = FileFindNextFile($hSearch) ; If no more files then close search handle and return If @error Then ExitLoop ; This is where we break the recursive loop <<<<<<<<<<<<<<<<<<<<<<<<<< ; Check if a folder If @extended Then ; If so then call the function recursively ListFiles_ToTreeView($sSourceFolder & $sFile, _GUICtrlTreeView_AddChild($hTreeView, $hItem, $sFile)) Else ; If a file than write path and name _GUICtrlTreeView_AddChild($hTreeView, $hItem, $sFile) EndIf WEnd ; Close search handle FileClose($hSearch) EndFunc ;==>ListFiles_ToTreeView
      So i am searching for the exact same function just with
      GUICtrlCreateTreeViewItem
      instead of 
      _GUICtrlTreeView_AddChild
       
      Ps: i have a folder structure where i like to color each item green if a file only exist once and red if it exist more than once.

      Could someone help?
       
      Solution:

       
       
    • Pricehacker
      By Pricehacker
      Title pretty much says it all. Im wondering what button the "primary mouse button" is, and while im here i would also like to know what the "secondary mouse button" is. I´m guessing its the left and right mouse buttons but i could not confirm this.
      Thank you!
×