Compressing files for the WinSxS folder

I wonder why the folder winsxs in Vista and Windows 7 do not use file compression? Due to the nature of the case, it would not affect the performance of the system and would save several gigabytes of disk space.  The only files that can be skipped is the manifest files that are less than 4 KB of size...

The INF file is very small, I think it wise to use compression for a file on this folder as well :)

Each regular on NTFS file can be considered be a single 'hardlink' a data element. You can have multiple hard links, which is like having the same file in two places with just the cost of the extra link and not the data. The '. 'and'.. ' directory? A few hard links in the current directory and the directory's parent. WinSxS is full of files that are installed as components, usually of Windows and other Microsoft software. When these recommended "settled" in a given place, what actually happens is that a new link (hard link) is created in the data file. It is one of the reasons why Vista can be installed that on NTFS - it made prolific use of hard links. The physical files has obvious implications - you're not only compressing the installation media, but only copies of the actual files that make up Windows. If you package, part of what you package consists of installed files - or files that you can install later. And Windows (or other applications) do not always provide a compressed file. For example, Vista will choke if you try to install the libraries shared IIS and its XML schema for winsxs files are compressed. They probably check that it still has the read-only attribute and I forgot to allow the presence of other attributes. Personally, I think it's a bug, but whatever it is, there is a risk that you must be aware of. No need to cherish luxuries (cause everythine come and go) even the life you have is borrowed (Cause you are not promised tomorrow)

Tags: Windows

Similar Questions

  • Error message: "the file names would be too long for the destination folder.

    I move the files from internal hard drive to external hard drive using cut and paste.  I get a message "the file name would be too long for the destination folder.  You can shorten the file name and try again, or try a location with a shorter path. "I then gives me choices to skip or cancel.  What happens to files that are ignored?  Are they deleted?  I don't want to lose all the data, but there are more 2 000 files with this problem, so passing by and rename each one really isn't a viable solution.  I don't really understand how the file names were originally created/saved about a problem that is only now that I want to move them.  The disc source and destination are NTFS.  Is there a solution for this?  It is imperative that no data is lost.  Thanks for any help you can offer.

    On Wednesday, 10 April 2013, 12:16:23 + 0000, MADinIowa wrote:

    I move the files from internal hard drive to external hard drive using cut and paste.  I get a message "the file name would be too long for the destination folder.  You can shorten the file name and try again, or try a location with a shorter path. "I then gives me choices to skip or cancel.  What happens to files that are ignored?  Are they deleted?

    N ° to check that what I say is correct, create a new folder
    for the purposes of the trial and to make a copy of some files. To ensure that
    one of them has a long name (rename if necessary), and then try to copy
    These files on the external drive. When you get the message, choose
    'jump' and see what happens.

  • What is the perpose of the winsxs folder

    What is the perpose of the winsxs folder

    The WinSxs is the central repository of records for Windows. All installed files are placed in the WinSxS folder, including updated files up-to-date. So, you will have a lot of different versions of each file, allowing you to roll back service packs and Windows updates to a previous state.

    The current version of a file is hardlinked to the appropriate place in the rest of the file system. A hard link is a file name. All files have at least one hard link. Windows system files (usually) have two links in hard, one in WinSxS and one in c:\windows\system32. The two names pointing to the same bytes on the disk.

    As the files have two names, they are counted twice by Solution Explorer, once once of WinSxS and System32.

    There are other uses for it as well. It allows several programs to use different versions of DLLs.

  • Problems with VC90 runtimes after deleting the winsxs folder. Installers now may not have write access to the winsxs folder?

    I very much regret to remove winsxs folder. I read that it might be recreated after being deleted and it was, but now VC90 doesn't quite

    A bunch of programs does not start, saying: there is a problem with the 'side by side configuration. Sxstrace using and try to run one of these programs, the analyzed log file shows that it was looking for VC90 manifest files in the folder "winsxs/manifest", which he could not find.

    It was weird because I feel that these manifest files should be created by the setup of the program (this program has been installed after I deleted the winsxs folder).

    Programs that are looking for VC90 during installation will say I did not install and will try to install it, and then fail and leave. I tried to install the runtime myself, but get the following error:

    Product: Microsoft Visual C++ 2008 Redistributable - x 86 9.0.30729.17 - Error 1935.An error occurred during the installation of assembly ' Microsoft.VC90.ATL, version = "9.0.30729.1", publicKeyToken = "1fc8b3b9a1e18e3b", processorArchitecture = "x 86", type ="win32" '. " See Help and Support for more information. HRESULT: 0 X 80070003. Assembly interface: IAssemblyCache, function: CreateAssemblyCacheItem, component: {AE56AAF5-F3C0-3D4B-8859-A1E50A3E27BF}

    I tried to get windows updates, but that did not fix it. I also tried to install SP2 (currently SP1) but it wouldn't install.

    Could someone help me please?

    Hello CheapSteaks,

    Thanks for posting on the Microsoft answers Forum.

    Click on the following article to see if it helps with your question.
    KB Article ID: 970652 -Error 1935.An error occurred during the installation of assembly ' Microsoft.VC90.ATL, version

    If please reply back and let us know if it helped to solve your problem.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How can I import my old passwords of key3.db key3 and files for the new firefox signons.sqlite 41.0?

    I recently updated my PC and my old hard drive in system is placed as a slave in my new PC. Seen key3 and signons.sqlite key3.db files of the old firefox, how to import passwords saved in the new firefox 41.0?

    Thank you.

    How old was the older Firefox? Firefox 33 and then use this pair of files:

    • logins. JSON -. saved passwords.
    • signons3.txt - this file stores your database key for your passwords.

    If you want to move the old in your current profile (to replace new empty files for the most part), this is the fastest way to open your folder of the currently active profile. Either:

    • button "3-bar" menu > "?" button > troubleshooting information
    • (menu bar) Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.

    Leave this window open, switch back to Firefox and output, either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Pause while Firefox finishing its cleanup, then rename logins.json to something like logins.old and key3db to something like key3.old.

    Now copy the old two files in this folder.

    Launch Firefox back up again. These connections are available?

  • Is it possible to prevent or remedy to have too many files in the DCIM folder?

    Is it possible to prevent or remedy to have too many files in the DCIM folder?  In a group of friends, when you view folders DCIM iPhone in Windows 8, three of us have many, many files (such as 101APPLE, 327APPLE, 328APPLE).  Phones concerned: 5 c, 6: 6.  Some have only one photo per file, some files have just a few pictures.  In addition, two friends have files dated 1969.  I think everyone has the most current ioS. What is the cause and is at - it a way to overcome it?

    No, it isn't. The DCIM and its content was never for public use to shoot photos and videos.

    Here's the right way to go about it.

    Import photos and videos from your iPhone, iPad or iPod touch - Apple Support

    If you want something more specific Windows, I suggest you watch here.

    http://Windows.Microsoft.com/en-us/Windows-8/import-photos-videos

  • How can I move files to the system folder?

    Hi all

    I was wondering how to move files to the system folder. With the update to El Capitan and the former program is no longer works and the developer suggests moving some files on the system folder that should fix it, but even if an administrator account I don't have write access to the system-> library folder where they need to go. Any help would be appreciated.

    Thank you!

    Steve

    In short: you do not have. The folder/System is only for Apple.  The new protections in El Capitan make it impossible for you to place the files.

    This is what the folder/library for: install additional components to the system, but keeping them separated from the basic installation.

    What software are you trying to run? What files we told you to move? I'm curious to know what type of developer will tell you to put the files in / System.

  • "I get,' files for the recovery diskette can not be created ' and I can't save my PC

    When I try to back up my PC, I get "files for the recovery diskette could not be created" how to fix this?

    Hello

    This problem can occur because ASR is not supported in Windows XP Home Edition. However, users of Windows XP Home Edition can access the Recovery Wizard if they install the Ntbackup program in the Windows XP Home Edition CD-ROM Valueadd folder.

    See the steps listed in the article below and check
    An Error Message appears when you try to use the Automated System Recovery Wizard
    http://support.Microsoft.com/kb/302700

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • When I try to import an mp3 file for the background music for my videos I get the following message: C:\Documents and Music\Karaoke.mp3 Documents\My owner could not be imported.

    Original title: Please help me

    When I try to import an mp3 file for the background music for my videos I get the following message: C:\Documents and Music\Karaoke.mp3 Documents\My owner could not be imported. The selected file is not valid or is corrupted. but before a few years, I used this then all files was import but now this errors can help u answer me please

    When I try to import an mp3 file for the background music for my videos I get the following message: C:\Documents and Music\Karaoke.mp3 Documents\My owner could not be imported. The selected file is not valid or is corrupted. but before a few years, I used this then all files was import but now this errors can help u answer me please

    =====================================
    MP3 files can be problematic in Movie Maker...
    Best bet would be to convert the files to the. WMA
    format before you import into Movie Maker.

    There are many converters available on the net... the
    the following link is an example:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster)
    (the file you want to download is: > FFSetup295.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the last screen)
    (Windows XP / Vista / 7)

    First... after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your music files on the main screen...

    Select "while"WMA"/ OK...

    Click on... Beginning... in the toolbar...

    That should do it...

  • CANNOT write to files in the shared folder of XP on a PC running windows 7 - but good vice versa

    I have a laptop under Windows 7 (SP1) and a desktop running XP (SP3).  I have connected both via a wireless network. While I can see and access shared files/folders from one computer to the other computer, I can only read/write files in the shared folder on the portable computer that is running Windows 7.

    If I try and change a file in the shared folder from the PC under XP on my laptop, I get the message "this file is set to read-only. Try again with a different name "."  I know that the file is NOT checked for read-only. When I change the name of the file I get the error message "\\Desktop\SharedDocs\filename.doc you are not allowed to save in this location. Contact the administrator for approval.  You want to save in the folder my documents instead? "If I save the file to another location on the laptop under Win7 it save then OK.  I can not just save a modified version of the file in the same shared folder from desktop running XP.
    It seems that it must be something to do with permissions and access to the parameters of the desktop running XP but I can not find these. Fairly easy to find in Windows 7.
    Finally, I don't have a login/password set for the connection to the computer to Office XP.  I don't have a user name and password for the laptop Win7 but you have turned off password protected sharing.
    Anyone have a solution to this?
    Thank you

    OK - the problem is now resolved.

    I noticed that the read-only for the shared folder has been checked. When I unchecked it and also checked the box "allow network users to change my files" in the shared folder properties/sharing, I was able to modify and save files in the shared folder on my laptop.
    It's a little weird because I thought I had done this the other day where the results have been less successful.  Strange.
    Thanks for your help.

  • Shimgvw.dll file in the sys32 folder can be boggus

    Shimgvw.dll file in the sys32 folder can be boggus, no propertys tab, how to save file from another folder that has the legitimate Properties tab?

    Update security for Windows XP (KB2483185)
    Last published: 08/02/2011
    A security issue has been identified that could allow an unauthenticated remote attacker to compromise your system and take control. You can protect your system by installing this update from Microsoft. After you install this update, you may have to restart your system.

    This update downloads ok but fails to install, so I did a manual download and install, but when asked for the location of shimgvw.dll during installation and I point to the file in the sys32 folder the update fails, it seems, there are 3 versions of this file, but the System 32 folder isn 't legitimate because it does not appear info version or company. "

    What can I do?

    Q1: When you say Properties tab are actually referring to the Version tab, i.e. right click on the file, select Properties and no Version and summary tabs not only general tab?

    Q2: Did you check C:\Windows\System32|dllcache for shimgvw.dll? Should be the same version 6.0.2900.6072-429 KB Windows Picture and Fax Viewer-Application Extension

    . If folder dllcache a Version tab displays the above version number and Microsoft Corporation as the owner, then could cut and move of the System32 folder then vouscopiezetcollezle the dllcache to the System32 folder and try regsvr32 shimgvw.dll in the run > open: box. If registration is successful, try to manually update again.

    There is always the posibilty of the malware infection. Have you MSE working properly?

    Visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy. If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    I hope this helps.

  • Windows search fails to find the files in the Documents folder

    Original title: Windows 7 search finds no files, even though all the settings have been verified and the search index has been rebuilt

    I recently bought a new Dell laptop Studio 1558 with Windows 7 Home Premium and moved through several hundred documents from my old PC to the new folder 'My Documents'.

    As many others have found, Windows Search has been completely useless. She seems to have no problem finding files in the music folder or image, but anything in the document library is invisible to the it - even if I get in a subfolder small for a file name I see just in front of me, Windows Search will announce that "no element not corresponding to your search.

    I took a number of steps so far to fix the problem, which none have worked:

    1. I checked which locations are indexed for search and ensured that the document library is among them (as well as all of my C drive).

    2. I checked that appropriate file extensions (.doc .docx .pdf, etc.) are all selected from the "File Types" list in indexing options (although I noticed that 'Description of filter' for .pdf bed "Registered IFilert is not found" - not this problem with Word documents).

    3. I have deleted and rebuilt the search index.

    4. I ran the troubleshooting Windows 7 Search tool, which reports that it cannot find any problems.

    5. I have read that some problems with Windows 7 search can be solved by changing a registry key (http://www.intowindows.com/how-to-fix-windows-7-search-problems/) but when I navigate to the folder in my registry, only following three keys are here (not the one mentioned in the difficulty):

    • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\ {0B2BAAEB-0042-4DCA-AA4D-3EE8648D03E5}
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\ {36011842-DCCC-40FE-AA3D-6177EA401788}
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\ {59BD6DD1-5CEC-4D7E-9AD2-ECC64154418D}

    A couple of things, I said - if I create a new word document and save it, Windows Search seems to immediately get back on it and is able to find. I also noticed that at first when I opened one of the word documents that have been transferred over the old PC and then closed it again, Windows Search picked up on it and could find it. So I went to try to open and close then all of my documents (an arduous task...), but the subject to halfway through Windows Search has ceased to be able to find them.

    All Word documents using Microsoft Word 2007 in .doc or .docx format, although the problem also applies to Excel, PDF and image files, so I don't think that the problem is with the word itself.

    I have tried everything I can think so far, including all the solutions, I could see suggested in previous discussions. I really need the search function working to effectively use my laptop so that any help would be welcome!

    Thank you, Jack

    Santosh thanks, I checked the permissions for the appropriate files and SYSTEM was present, which doesn't seem to be the problem. However, I found a solution that might work for other people are having the same problem.

    I noticed that if I changed the location of the files, Windows search suddenly seems to become aware that they existed and then indexed and followed them correctly - even if they were subsequently moved back to the original location. I just created a temporary folder outside my library of documents and then each subfolder in the folder my documents him and then come back, one by one. It was a bit laborious but the problem solved - I know not why it worked, but all the old files are now indexed and appear correctly when you use Windows Search, and it seems not to have any problems, follow-up of the newly created files.

    Cheers, Jack

  • Weird "cmd" option in the context menu for the drive/folder

    Recently, I noticed a strange 'cmd' (as what) command appeared in the context menu for the drive/folder. After pressing it, I get an error "this file doesn't have an associated program to perform this action."

    Efforts to eliminate this question nagging eye, using regedit and various 3rd party menu popup editors, have failed.

    Any ideas why this might have happened?

    Thank you in advance.

    So, I thought about it. It indeed is a corruption of the menu prompt integrated (that I didn't know existed until I started to search for this problem).  The problem and the fix is here:

    There is a key called "command" in HKCR\Directory\shell. Delete the key "cmd" under "shell", and then adding the following code appear to have solved the problem.

    [HKEY_CLASSES_ROOT\Directory\shell]
    @= 'none '.

    [HKEY_CLASSES_ROOT\Directory\shell\Command Prompt]
    'Extended '=' '
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\shell\Command Prompt\command]
    @= "@shell32.dll,-8506.
    'Extended '=' '
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\shell\Command Prompt\command]
    @= "cmd.exe /s /k pushd \"%V\"" "

  • Moving files: I am wanting to put the existing files to a new folder, how do I create a new folder and move those file to the new folder?

    I am wanting to put the existing files to a new folder, how do I create a new folder and move those file to the new folder?

    I am wanting to put the existing files to a new folder, how do I create a new folder and move those file to the new folder?

    Hello

    Go t the location where you want to create the new folder, right-click and select new/folder. Name the folder.

    Go to where the files, select the files and then use the right mouse button to drag the files into the new folder. When you drop the file, a pop-up menu, select the Move option.

    Let us know if you have any other questions.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • Cannot create a .db file in the assets folder

    I am trying to create a quizz.db file in the current folder by creating first a temporary quizz.db in the folder data and then creating tables inside and then copy it in the current folder. By debugging code, it shows that the folder is created. But I can't find it in the current folder. Here is the code

    #include 
    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    using namespace bb::data;
    
    SQLTest::SQLTest(bb::cascades::Application *app): QObject(app)
    {
        const QString fileName = QString("quizz.db");
        QString dataFolder = QDir::homePath();
        QString newFileName = dataFolder + "/" + fileName;
        QTemporaryFile file(newFileName);
    
        // Open the file that was created
        if (file.open())
        {
            // Create an SqlDataAccess object
            SqlDataAccess sda(newFileName);
    
            // Create a table called Employee in the database file
            sda.execute("CREATE TABLE Employee( firstName VARCHAR(50),lastName VARCHAR(50), salary INT);");
    
            // Insert employee records into the table
            sda.execute("INSERT INTO Employee (firstName, lastName, salary) VALUES (\"Mike\", \"Chepesky\", 42000);");
            sda.execute("INSERT INTO Employee (firstName, lastName, salary) VALUES (\"Westlee\", \"Barichak\", 55000);");
            sda.execute("INSERT INTO Employee (firstName, lastName, salary) VALUES (\"Ian\", \"Dundas\", 47000);");
            if(sda.hasError())
            {
    
            }
            else
                copyFileToAssetsFolder("quizz.db");
        }
    }
    void SQLTest::copyFileToAssetsFolder(const QString fileName)
    {
        QString appFolder(QDir::homePath());
        appFolder.chop(4);
        QString originalFileName = appFolder + "app/native/assets/" + fileName;
        QFile newFile(originalFileName);
    // If I enable this `if` condition the code satisfies it and removes the quizz.db file and then it satisfies the next `if` condition and successfully copies the quizz.db file from `data` folder to `assets` folder.
        /*if(newFile.exists())
            QDir().remove(originalFileName);*/
        // this `if` condition is not satisfied. Which should mean the quizz.db file has been created on assets folder.
        if (!newFile.exists())
        {
            // If the file is not already in the assets folder, we copy it from the
            // data folder (read and write) to the assets folder (read only).
    
            QString dataFolder = QDir::homePath();
            QString newFileName = dataFolder + "/" + fileName;
            QFile originalFile(newFileName);
    
            if (originalFile.exists())
            {
                // Create sub folders if any creates the SQL folder for a file path like e.g. sql/quotesdb
                QFileInfo fileInfo(originalFileName);
                QDir().mkpath (fileInfo.dir().path());
    
                if(!originalFile.copy(originalFileName)) {
                    qDebug() << "Failed to copy file to path: " << originalFileName;
                }
            } else {
                qDebug() << "Failed to copy file data base file does not exists.";
            }
        }
    
       // mSourceInDataFolder = newFileName;
    }
    

    If activate the commented "If" condition of "copyFileToAssetsFolder" int he removes already created quizz.db file in the current folder (that Im unable to find) and goes inside the next ' if' and copy the quizz.db created on the folder "data" of active fodler. But in any case I don't find the quizz.db in the current folder. I really need help with this quickly. Thank you.

    Thanks to read this to learn why you can have an application change the assets folder: https://developer.blackberry.com/native/documentation/bb10/com.qnx.doc.native_sdk.devguide/com.qnx.d...

Maybe you are looking for