Jump to content

ZileXa

Member
  • Posts

    833
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Netherlands

About ZileXa

  • Birthday 07/05/1984

Contact Methods

  • Website URL
    http://dvd.yardcure.com

ZileXa's Achievements

2

Reputation

  1. It does, but as I said, when you actually play a media file, you will get a dialog to select which program to use. /regvid /regaud etc only makes sure that Media Player Classic appears in that list. You can of course select to remember your choice. If you want it to be the default selection (without dialog) you need to set it manually.
  2. Anyone can use Regshot, no need to post that here. I believe /regvid now works correctly so no need for Regshot: it will associate video files to MPC-BE. Only thing left for you to manually change in Settings is to change 1 thing: "play video files by default with.." That last part cannot be captured with Regshot, or it can but in Win10 a unique ID is generated for it so the registry entries are useless to reuse.
  3. It works for start menu. Not for taskbar because Microsoft removed the call the author is using. He is looking into it but said that there is no alternative in Win10 for the call he is using in the script. So there won't be a taskbar solution, Start menu only.
  4. It is possible now to unpin existing items from the Windows 10 Start menu and pin new items to it. But it is a hassle if you want your own Start menu layout because you will need to create unpin commands for each default pinned program first (after installation, there are a lot in there). I guess if you do it once, you never have to do it again. This script should also support pinning and unpinning to taskbar, but that part does not work unfortunately. https://github.com/npocmaka/batch.scripts/blob/master/hybrids/jscript/pinnerJS.bat in your CMD file, use (example): call pinnerJS.bat "%programdata%\Microsoft\Windows\Start Menu\Programs\Skype.lnk" startmenu or to remove: call pinnerJS.bat "%programdata%\Microsoft\Windows\Start Menu\Programs\Skype.lnk" unstartmenu Found via: http://stackoverflow.com/questions/32034313/how-to-pin-to-start-menu-using-a-batch-file-windows-10 I emailed the creator and left a message on stackoverflow, hopefully he can fix the taskbar issue.
  5. Again, that is *ONLY* for creating your own customized Windows Setup. My question/this topic is about applying a W10 Start Menu for existing users. Non-business laptops/computers will be upgraded to W10 for free by consumers. It does not make sense to create my own Win Setup, since I will never be able to use it. In order to get the free upgrade, a user must use the MS Upgrade tool or Windows Update. So I will never have the chance to use the solutions described on that page. That is really only for system administrators. I am helping people to upgrade (clean) and use Chocolatey (check chocolatey.org) to unattendedly install the necessary software, set some registry settings. This is 1 CMD file and 1 REG file. Perfect, but I still have to do the following manually: 1. create some basic Start Menu (setting up the tiles) 2. associating applications/set default app for.. (also cannot be done silently in W10) 3. Some application-specific settings
  6. Actually, according to the stealthpuppy-link you posted, ImportLayout only imports it into the Default user profile. And I checked, indeed a new file has been added in that profile! So C:\ probably did work! C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml The only question now is, how to get this applied for an existing user account..
  7. I tried several ways, it complains about %systemdrive%. If I simply use C:\ it does not throw an error. But the layout is not applied to my start menu, also not after a reboot. And I also tried exporting to xml instead of bin and importing xml, no difference. PS C:\> POWERSHELL -NonInteractive -Command Import-StartLayout -LayoutPath "C:\Users\zilex\Desktop\start.bin" -MountPath %SystemDrive%\Import-StartLayout : Cannot find path 'C:\%SystemDrive%\' because it does not exist.At line:1 char:1+ Import-StartLayout -LayoutPath C:\Users\zilex\Desktop\start.bin -Moun ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\%SystemDrive%\:String) [Import-StartLayout], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.StartLayout.Commands.ImportStartLayoutCommandPS C:\> POWERSHELL -NonInteractive -Command Import-StartLayout -LayoutPath "C:\Users\zilex\Desktop\start.bin" -MountPath %SystemDrive%Import-StartLayout : Cannot find path 'C:\%SystemDrive%' because it does not exist.At line:1 char:1+ Import-StartLayout -LayoutPath C:\Users\zilex\Desktop\start.bin -Moun ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\%SystemDrive%:String) [Import-StartLayout], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.StartLayout.Commands.ImportStartLayoutCommandPS C:\> POWERSHELL -NonInteractive -Command Import-StartLayout -LayoutPath "C:\Users\zilex\Desktop\start.bin" -MountPath C:\PS C:\>
  8. What is the deal with the Windows 10 Start Menu? All online guides explain you can export and import it by backing up some files, but these files do not exist anymore in the final version of Windows 10. I figured out a way to actually export the whole Start Menu layout by using this Powershell command: Open Powershell with admin rights (or click WIN+X, select "Command Prompt (Admin)", type powershell and hit enter): Export-StartLayout -Path C:\StartLayout.XMLThis works, the XML file actually contains the layout. But I do not know how to import it to an existing Win10 machine. This is the documentation from Microsoft: https://msdn.microsoft.com/en-us/library/windows/hardware/mt171092%28v=vs.85%29.aspx But this only works by importing the XML file into a Windows Image. Since most people simply install Windows via the free upgrade, I need a way to import it on an exisiting Win 10 installation. Any ideas?
  9. I noticed chocolatey is not mentioned in this forum. I wanted to make people here aware of the fact Chocolatey exists and it is absolutely perfect. They are still enhancing it, but this is the way to go, to install apps silently and keep them up to date. They could use help so if you are interested, have a closer look: https://chocolatey.org/
  10. That would only be practical for one or two filetypes. In Settings, Default Programs (the new Settings), you can select which program to use for video playback <--- that is the one I would like to modify to MPC-BE. But I understand after further reading, this is absolutely impossible. AutoIT would be the only way.. I don't feel like playing with AutoIT again, makes me feel like going back to 2008.
  11. Since there is no Win10 unattended subforum I am placing this here: How to set the default program by a command (CMD) or Powershell or registery modification? I have searched a lot and only found a way to associate files to specific programs, but that will only add them to the context menu list (Open With...>): @echo onassoc .mkv=MPC-BE.AssocFile.MKVftype MPC-BE.AssocFile.MKV=c:\Program Files\MPC-BE x64\mpc-be64.exe "%1"pauseThe command assoc creates the file type in the registry, the command ftype associates the program. In this example, "MPC-BE" is just a name that I use, you can also use "MPCHC or MPC or whatever, just as long as it matches the same you use in ftype command. But HOW can we set default program? I am particularly intested in: PDF, video files, image editor (Paint.net), 7z/zip. Paint.net silent install arguments do work, but the ones that set the file type associations do not work in Windows 10. (again, only added to the context menu "Open With..." not the context menu "edit". In win7 it worked flawlessly).
  12. @ZileXa: I cannot keep up with your process. Could you please clarify your some steps? 1. "ran GimageX (apply then Capture, do not press Append, press Create)": a. do you choose the same Source and Destination folders? b. It way create a .wim file, say 'my win7.wim'. 2. "Then ran VLite. When vLite finishes": Does it finish removing winsxs and other stuffs? 3. "I first copy files to the directory ($OEM$, apps, stuff and hotfix KB947821)": What files did you copy to what directory? Thank you in advance for your clarification. Sorry I haven't been around lately. After you finished with RT7Lite, you have a folder with all the stuff from your Windows image, but stripped down. Call it folder A. Now run GimageX, choose APPLY. Source folder is the install.wim file in a subfolder of folder A. Destination folder is a temporary folder you create on your desktop or whatever. Then CAPTURE, now select the folder from your desktop as source and the install.wim file from folder A as destination. After that finishes, use vLite with the ini files provided by me or first post. Modify stuff you want to keep/remove. After vLite finishes, you're done. In my case. I do not close vLite window yet. I also want to install applications silently during or after Windows Setup. Apps like Avira antivirus, SumatraPDF reader, Paint.net, Notepad2, Firefox, Office 10, CDBurnerXP, uTorrent, Xnview and other apps. Also I want to run a few cleanup commands, apply lots of settings and tweaks for Windows and these apps during setup. Therefore I copy the setup files of these applications, a batch file to install them, .reg file for settings/tweaks and a .7z file containing my preconfigured and clean Start menu. So I copy all of this to the root of the folder A. Then go back to the vLite window and create my ISO image. Hope thats enough info for you. Everything works here. The hotfix necessary for Windows Update to install all updates correctly takes hours to install but that doesn't matter just let it run when you go to bed.
  13. I haven't had time to do a new rebuild. Maybe tonight. The thing is, I have a slimmed down Windows image without WinSxS with Windows Update working via method 5 described in this topic. All works fine and I do not want to remove less components just because Sysprep doesn't like it.. I will do one more complete rebuild and add also your setting in the answer file. If that doesn't work, I'm just going to set all my usertweaks via RunOnce..
  14. Oh noo, I did so many rebuilds, not looking forward to that. But can you please explain what you mean by this: Since I am not slipstreaming IE9, this alternative method might work for me.
  15. In that case, why not simply use your "manual build process" (please enlighten me, I don't have a clue) and install IE9 unattendedly using Setupcomplete.cmd (wich will run right after useraccount creation but before first login)?
×
×
  • Create New...