Jump to content

ZileXa

Member
  • Posts

    833
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Netherlands

Everything posted by ZileXa

  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. Hi! I like your method in this topic:

    I was wondering if you also apply regtweaks via your install.cmd?

×
×
  • Create New...