Open utterances-bot opened 2 years ago
You do have a typo on the title of your website.
Hi chris, i usually just lurk around your videos on YT. I love the knowledge you share. Thank you for it. Now, where or how can i do a windows LTSC or highly stripped out ISO? I wish i could have the knowledge to achieve that in a way i could be sub 50 processes.
I actually came accros this problem when I started setting up some new Windows Server 2022 RDS Servers. Since the windows store isn't installed by default on windows server. Used the same tools to get the job done!
Hi Chris, I love the stripped down version of my ntlite iso a lot. And i followed this page, but i still can not use your CTT-windows Utility.exe Are there others who have the same problem or can help me?
Here is a project which i found can do the same but much more easily just select the app and it gets installed link: https://github.com/m-jishnu/alt-app-installer
there is a way to do the same for gamepass games?
What would I need to do, if I had to add a license?
Hello Chris,
Can you help me with that. I just installed Ghost Spectre, only problem I can't install winget and make it work. Thank You.
PS C:\Users\Administrator> winget-install.ps1 winget-install.ps1 : File C:\Program Files\WindowsPowerShell\Scripts\winget-install.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
@SwiftLatency, look up here:
@s17534 so, prefix script with "Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted" but it still wont run cos it doesnt want to run the script that includes making scripts runnable :-). You have to type that into Powershell first. What I am looking for is a script that WORKS and preferable doesnt need interaction (this needs confirmations too). Cracked that yet? :-D
@s17534 so, prefix script with "Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted" but it still wont run cos it doesnt want to run the script that includes making scripts runnable :-). You have to type that into Powershell first. What I am looking for is a script that WORKS and preferable doesnt need interaction (this needs confirmations too). Cracked that yet? :-D
Yep, this is what I've done as a workaround to make that script run. In my case it worked. I didn't need to run script to set ExecutionPolicy, just typed entire command in ps window which was run as a Admin. GL ;)
i have a problem in my windows powershell i cant using any command , why ?? i did my own iso win 10 but i think i did not do that correctly i need help please
PS C:\Windows\system32> Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted Get-PSGalleryApiAvailability : PowerShell Gallery is currently unavailable. Please try again later. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4302 char:9
+ CategoryInfo : InvalidOperation: (:) [Get-PSGalleryApiAvailability], InvalidOperationException
+ FullyQualifiedErrorId : PowerShellGalleryUnavailable,Get-PSGalleryApiAvailability
Set-PSRepository : No repository with the name 'PSGallery' was found. At line:1 char:1
+ CategoryInfo : InvalidOperation: (PSGallery:String) [Set-PSRepository], InvalidOperationException
+ FullyQualifiedErrorId : RepositoryNotFound,Set-PSRepository
---------------------------------------------
this is the problem
Great post Chris! Hopefully you are monitoring the comments. Hoping you can help on this one
I am trying to use NuGet to remove the Win 11 Teams App remotely via PS on a bunch of systems. Problem is, the NuGet install requires a Y reply in order to run. Even if I use -force, the darn thing wants Y pressed. I've tried everything i can think of in order to pass that character in line with the script to make it non-interactive, but I can't figure it out. Was hoping you had some insight! Below is the prompt I am talking about
Set-ExecutionPolicy RemoteSigned Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted Install-Script -Name winget-install -Force <--- basically when you hit this point
NuGet provider is required to continue PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories. The NuGet provider must be available in 'C:\Program Files\PackageManagement\ProviderAssemblies' or 'C:\Windows\system32\config\systemprofile\AppData\Local\PackageManagement\ProviderAssemblies'. You can also install the NuGet provider by running 'Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force'. Do you want PowerShellGet to install and import the NuGet provider now? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):
Great post Chris! Hopefully you are monitoring the comments. Hoping you can help on this one
I am trying to use NuGet to remove the Win 11 Teams App remotely via PS on a bunch of systems. Problem is, the NuGet install requires a Y reply in order to run. Even if I use -force, the darn thing wants Y pressed. I've tried everything i can think of in order to pass that character in line with the script to make it non-interactive, but I can't figure it out. Was hoping you had some insight! Below is the prompt I am talking about
Set-ExecutionPolicy RemoteSigned Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted Install-Script -Name winget-install -Force <--- basically when you hit this point
NuGet provider is required to continue PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories. The NuGet provider must be available in 'C:\Program Files\PackageManagement\ProviderAssemblies' or 'C:\Windows\system32\config\systemprofile\AppData\Local\PackageManagement\ProviderAssemblies'. You can also install the NuGet provider by running 'Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force'. Do you want PowerShellGet to install and import the NuGet provider now? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):
I am working on a new install script for winget. Here is a new one I just commited: https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/winget.ps1
After using the new script I keep getting the following error: Exception calling "OpenRead" with "1" argument(s): "Could not find file 'C:\microsoft.ui.xaml.2.7.0.nupkg'." At line:71 char:1
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : FileNotFoundException
How different are these new scripts compared to the video ones? The ones in the tutorial looked simple enough to follow, but with these new ones I'm so lost. I have zero programming skills, could you re-upload a video tutorial with these changes please?
Thank you for this! Little tip for anyone getting " Operation is not supported on this platform." that took me ges to work out. Use regular Powershell built into Windows, and not Powershell Core. Seems to be an issue running AppX in Core - https://github.com/PowerShell/PowerShell/issues/13138
is there a way for us to add a file within the "C:\Program files\WindowsApp" folder without messing around the permission settings?
Hey Chris, man your a genius. Ive taken a crash course in powershell. its as painful as unix but its better than the evil 80 cpi BLACK window. thanks to your brilliant script i have winget installed and it works for the most part. I have just one problem. WingetUI is blank. no buttons work. nothing is displayed. Ive spent an entire day trying to get it working but it just sits there scanning for nothing. Ive done all the wiki help, at least 30 web pages and several youtube and found you. so Ive successfully installed Spotify like your video and a couple other useless apps just as a test. it works. so THANKYOU SO MUCH.. MSStore - I hate you. can you imagine if apple store was run like microsoft. Jesus.
But wingetUI is blank and acts like its dead. Im totally stuck.
my winget info all looks normal my paths look normal but im getting python errors. i reinstalled python nosuccess. confirmed my python path. Imm just at my limit cuz im not a genius like you. can you possibly help me get this going. I run a very stable PC so I have no idea whats causing such a COMPLETE FAILURE by wingetUI. maybe u have an idea. thanks always and thanks for at least geting winget running so i can DL apps wo the store.
but wingetUI is just gravy ...that doesnt run. would be very cool to have if it work I wont pst my lgs and stuff until I here back from yu, but these python errrors are just a nemesis to me the barely programmer. Yes I did my time with BASIC in the 80s, some COBOL on a very weird job that paid a lot. and some linux scripting and a bunch other oddball stuff, but no python. So im not hopeless, but I can handle bash, but powershell is very foreign to me. As always, your fan Randy
Frage, ist es möglich, das Skript auch so zu machen, das es nicht mit den links arbeitet, sondern mit den 'PackageFamilyName' ?? Da es nicht alle im App-Store gibt aber via 'PackageFamilyName'. Ich schaffe es nicht, das er sie Downloadet. Er zeigt sie mir nur in der liste der Versionen an. Bitte helft mir !!
Question, is it possible to make the script so that it doesn't work with the links, but with the 'PackageFamilyName' ?? Since not all of them are available in the app store, but via 'PackageFamilyName'. I can't get him to download it. It only shows it to me in the list of versions. Please help me !!
Das Problem scheinen sie unterschiedlichen Endungen zu sein :( Es gibt nicht nur "appx" sondern auch "msix". Ist es möglich, diese mit einem Skript zu machen oder muss ich es mit zwei Versionen machen?
The problem seems to be different endings :( There is not only "appx" but also "msix". Is it possible to do these with one script or do I have to do it with two versions?
Installing Appx Without Microsoft Store
Having Fun with Technology
https://christitus.com/installing-appx-without-msstore/