anass_f
-
Posts
23 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by anass_f
-
-
Yes, to remove components and add tweaks...
will start a new thread and see how members will react.
-
Hi Liam,
the same error again. Only the describtion is a little bit other.
I hope you and Myselfidem and anass_f will find the Bug.
Regards
Trye the Test2 version which Legolash2o posted earlier:
-
@Legolash2o:
I still did not get an answer regarding the "cmd.exe" question.
Please check this thread and let me know what you think:
-
Yes! the error occurs even if I select only one of them for removal.
PS: I did not tried yet the "...Test2" version.
-
I FOUND IT!!!
During the whole nightmare I was only testing the new version of W7T on removing both "WinSxS\Backup" and "Speech Neutral Language" and only those things.
I finally decided to choose none of these for removal and I chose only "Bitlocker Disk Encryption" as a try, and guess what! No errors and "Packages.exe" is really created in the same folder as W7T.exe
SO IT IS A BUG.
To reproduce the bug just select "WinSxS\Backup" and "Speech Neutral Language" for removal and see for your self.
I'm gonna try each at time to see if the error occurs.
-
I gonna be nuts!
I tried every thing but with no success.
changed folders, deleting everything ...
I don't uderstand!
I was using W7T for weeks, and just after I tried the test version that Legolash2o has PM to me today then this nightmare began!
-
No, the image is successfully mounted in D:\WTMount and the Backup+Speech is deleted and all is fine except this error.
But, I see that W7T did not create the W:\W7TTemp folder as it is stated in the settings file.
I will create it manually and see what happens.
Thank you guys for your help. It is much appreciated. :giveheart:
-
-
-
When do you get that error? just after mount?
yes! right after it mount the image before it tries to delete the Backup folder.
-
But I still have the "Packages.exe" file not being found error. :g:
I replaced W7T.exe with an older (1.3.0.61) version and the same error occurs!
may be there is a problem in my Settings file.
fAddons=
fDrivers=
fGadgets=
fSilents=
fThemes=
fTweaks=
fUpdates=W:\0Wins\7\Library\IE9
fWallpapers=
sAICommands=True
sAIOSave=True
sCheckForUpdates=True
sDLogging=True
sFreeRAM=True
sGroups=True
sHotkeys=True
sImagex64=True
sLastWIM=W:\0Wins\7\Ultimate\Sources\install.wim
smCheck=True
sAIOPM=True
sMountTemp=D:\WTMount
sQuickMerge=False
smVerify=True
sSolDownload=W:\0Wins\7\Upd\
sTransparency=95
sTransparencyAll=False
sW7TDISM=Idle
sW7TExt=Idle
sW7TPRI=Idle
sW7TTemp=W:\W7TTemp
sShowAntiV=False
sSkipDCheck=False
sUploadLogs=True
sLastISOF=
sMountLog=True
sUSBPrepLog=True
sWelcomeTab=False
sDownloadTab=False
sToolsTab=True
sRegistryLog=FalseI will delete the settings file and give a try.
-
:prop:
It works now!
But I still have the "Packages.exe" file not being found error. :g:
-
Would you, Legolash2o, accept contributions from members in the following format:
<Title>Windows Defender</Title> ##Title of the function removal/tweak/addon that will be displayed in the W7T GUI.##
<Hint>This will completely remove Windows Defender</Hint> ##The tooltip/hint that will be displayed on mouse-hover over the title.##
<HowTo>here goes the help for Legolash2o on how to achieve the WinDef removal</HowTo> ##This could be a reg file, a dism command line parameters with package GUI/name...If you, Legolash2o, find this a good idea you may set the way members could help you and then you/ I / or any one will start a topic for this purpose.
Sorry for my English. :shy:
-
Ok guys i think i've fixed the problem, just testing it now then i'll post a link here for you guys to test
Are you using subinacl/setacl now?
what about the cmd.exe calls?
-
I'm in peace!
How it's possible to takewonership and remove a file or a folder NOT SPECIFIED (example:fr-FR)??
Primo, this has nothing to do with the our topic here.
Secundo, when removing a package you only have to know its name (short name not its folder name in WinSxS folder) or its GUID and DISM take care of the rest. I can't find an example or a situation where you have to delete a language specific folder.
Sorry for my English! :welcome6ld:
EDIT: Orthographic corrections!
-
For the moment, don't worry about Windows 7 localized version, but i think you can tell that "removal components" is only available for English version...And you are working for a workaround for local version?
It's better to improve your awesome software for English version!
Regards
Why do you say that?
Nothing depends on the language of Windows 7. Except for Administrators/Administrateurs/Administratoren where you can use SIDs instead and stay in peace.
-
Hmm, this is tougher than i thought, i keep getting a "Attempted to perform an unauthorized operation file" error
Just include subinacl.exe (or setACL.exe) in W7T.exe the same way you do with "Packages.exe" and run the following commands instead of "takeown" and "Icalcs"
I did not tried yet the test version you PM to me. But I have a suggestion for an alternative for both "takeown" and "lcacls": subinacl.exe.
Here is the syntax for taking ownership (S-1-5-32-544 = Administrators (En) = Administrateurs (Fr) = ...):
subinacl /subdirectories . /setowner=S-1-5-32-544and here is the syntax for granting full rights to the Administrators group:
subinacl /subdirectories . /grant=S-1-5-32-544=fHere is the official link from Microsoft to download "subinacl":
http://www.microsoft...ang=en&id=23510
By the way, subinacl can perform security operation on evrething: files, directories (or both), services, registry, shares, printers, processes...
I guess it's more convenient to use S-1-5-32-544 (Administrators) than S-1-1-0 (Everyone).
Here is the complete reference for SIDs:
-
Wow, that was suprisingly easy, W7T will no longer use takeown or icacls, anyone fancy testing the new method?
It says cannot find the specified file! see the attachment.
The paths stated in the error are corrects. But, it's true, I couldn't find "Packages.exe" in the "W7T.exe" folder as I used to in the other versions of W7T. Maybe you forgot to include it.
After closing the error W7T claims is deleting files from Backup (2142 files) but in reality it doesn't! Then it hangs while deleting the last file (the file 2142/2142).
Moreover, I tried to manually delete a file from WinSxS folder while the image is mounted and it says "...access denied... " or something like that, this is obvious since my user account still doesn't have the right to do so. I guess the problem will persist even if the "Packages.exe" issue is resolved.
I still see W7T constantly calling cmd.exe with no arguments! why is that for?!!
-
using "ProcExp" I see W7T calling cmd.exe frequently each second with no command line parameters. this remark is independent of the issue stated in this topic.
Is there an explanation for that?
-
W7T uses:
RunExternal("takeown /f " + "\"" + F + "\"" + " /r /d y");
RunExternal("Icacls " + "\"" + F + "\"" + " /t /c /Q /grant *S-1-1-0:F");Does XP have takeown and icacls?
I did not tried yet the test version you PM to me. But I have a suggestion for an alternative for both "takeown" and "lcacls": subinacl.exe.
Here is the syntax for taking ownership (S-1-5-32-544 = Administrators (En) = Administrateurs (Fr) = ...):
subinacl /subdirectories . /setowner=S-1-5-32-544and here is the syntax for granting full rights to the Administrators group:
subinacl /subdirectories . /grant=S-1-5-32-544=fHere is the official link from Microsoft to download "subinacl":
http://www.microsoft...ang=en&id=23510
By the way, subinacl can perform security operation on evrething: files, directories (or both), services, registry, shares, printers, processes...
I guess it's more convenient to use S-1-5-32-544 (Administrators) than S-1-1-0 (Everyone).
-
Maybe because I'm runing W7T under XP SP3 French (customizing Win7 x86)!
Anyway, the problem source is the same as in http://www.wincert.n...-backup-folder/
Here is the solution: I set the owner for the mount folder as "Administrators" then grant full rights to "Administrators" all these operations with the option of "overwriting child security rights attributes". I'm not sure about the exact term because I'm using a French version of XP.
I guess that the issue of security rights could affects other functions in W7T not only WinSxS Backup folder!
That's true!
-
As stated in the title W7T freezes hours while deleting WinSxS\Backup folder.
I went to the mount path then Windows\winsxs\Backup, I tired to delete a file but with no success. "Properties" of Backup folder then "Security" then I found it has an unknown owner SID and my user account had no right to modify or delete... I set the owner as "Administrators" then grant them full rights. I went back to W7T and voila unleashed!
I guess that the issue of security rights could affects other functions in W7T not only WinSxS Backup folder!
W7T just close suddenly while it took long time to remove Speech support.
using "ProcExp" I see W7T calling cmd.exe frequently each second with no command line parameters. this remark is independent of the issue stated in this topic.
W7T Freezes on WinSXS\\Backup and removing speech
in Win Toolkit
Posted · Edited by Legolash2o
But is it normal that it launches cmd with no command line parameters?!!
By the way Test2 worked charmingly. Nice work!
What's new in Test3
EDIT: You may use ProcExp from Sysinternals to see what happens during the process.