aviv00 Posted July 29, 2011 Posted July 29, 2011 hey Legolash2o i have idea to delete files from winsxs safely do u want to make it ?
Octopuss Posted August 2, 2011 Posted August 2, 2011 Lego, could you make a small change to the /l parameter please? Currently there is no option where the list of packages will be saved to. Unless I missed something, it always gets saved in c:\Program Files\Windows AIK\Tools\PETools\, which is not even "the same directory" as the programs says (I understand it the way it should be saved in the mounted image's directory instead)
theeXeic Posted August 10, 2011 Posted August 10, 2011 Hi legolash,The old tweak.exe used the exit code -532459699 to define the error "registry file not found" when the path was inexistent or incorrect. Could make something similar on your version? For instance if the program finished successfully return errorlevel 0 if registry file not found then return errorlevel 1 etc.I use it in my batch and it would really be useful for me.
Octopuss Posted August 11, 2011 Posted August 11, 2011 What's wrong? :-OC:\Program Files\Windows AIK\Tools\PETools>d:\programy\install_wim_tweak.exe /p"e:\mount"----------------------------------------------------Registry Tweak Tool v1.3.8-----------------------for Windows 6.x----------------------Created by Michał Wnuowski-------------------Modified by Legolash2o-----------------------------------------------------MountPath : "e:\mount"------------------Starting-----------------Creating BKP of registry file... OKMounting registry file... OKTaking Ownership... OKEditing 'Packages' subkeys 243/243OKEditing 'PackagesPending' subkeys FAILUnhandled error occured.Object reference not set to an instance of an object.-------------------Ending------------------Unmounting key... OKRestoring Backup... OKRemoving Backup file... OK
Legolash2o Posted August 12, 2011 Author Posted August 12, 2011 (edited) If you use v1.4.4, and then after run it again with /h command it will restore all values (Visibility) to default.Hi legolash,The old tweak.exe used the exit code -532459699 to define the error "registry file not found" when the path was inexistent or incorrect. Could make something similar on your version? For instance if the program finished successfully return errorlevel 0 if registry file not found then return errorlevel 1 etc.I use it in my batch and it would really be useful for me.Done, it will return error code -532459699What's wrong? :-OC:\Program Files\Windows AIK\Tools\PETools>d:\programy\install_wim_tweak.exe /p"e:\mount"----------------------------------------------------Registry Tweak Tool v1.3.8-----------------------for Windows 6.x----------------------Created by Michał Wnuowski-------------------Modified by Legolash2o-----------------------------------------------------MountPath : "e:\mount"------------------Starting-----------------Creating BKP of registry file... OKMounting registry file... OKTaking Ownership... OKEditing 'Packages' subkeys 243/243OKEditing 'PackagesPending' subkeys FAILUnhandled error occured.Object reference not set to an instance of an object.-------------------Ending------------------Unmounting key... OKRestoring Backup... OKRemoving Backup file... OKThis issue was caused because PackagePending subkey could not be found, in v1.4.4 it will just skip this and continue if not found. Edited August 12, 2011 by Legolash2o
Octopuss Posted August 14, 2011 Posted August 14, 2011 If you use v1.4.4, and then after run it again with /h command it will restore all values (Visibility) to default.This issue was caused because PackagePending subkey could not be found, in v1.4.4 it will just skip this and continue if not found.I tried to remove packages from my syspreped image, so it must have something to do with that. But I didn't remove anything there so I see no reason why should it not work.
ricktendo Posted August 14, 2011 Posted August 14, 2011 If you use v1.4.4, and then after run it again with /h command it will restore all values (Visibility) to default.This issue was caused because PackagePending subkey could not be found, in v1.4.4 it will just skip this and continue if not found.I tried to remove packages from my syspreped image, so it must have something to do with that. But I didn't remove anything there so I see no reason why should it not work.Yer, they are no longer pending they installed already
Legolash2o Posted August 15, 2011 Author Posted August 15, 2011 Yeah there's a bug in v1.4.4, i'll upload the latest version.
MagicAndre1981 Posted August 15, 2011 Posted August 15, 2011 version 1.4.4 doesn't work. I removed the hyper-v drivers and integration service packages but the files are still in the WinSxS folder
myselfidem Posted August 15, 2011 Posted August 15, 2011 version 1.4.4 doesn't work. I removed the hyper-v drivers and integration service packages but the files are still in the WinSxS folder You can try the new version 1.4.6 available and bug solved.
ricktendo Posted August 15, 2011 Posted August 15, 2011 (edited) version 1.4.4 doesn't work. I removed the hyper-v drivers and integration service packages but the files are still in the WinSxS folder I think files are left behind until you rebuild the wimimagex /compress maximum /export <path_to_folder>\install.wim * <new_existing_path>\install.wim /check Edited August 15, 2011 by ricktendo64
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now