咨询热线: 0755-28719720    
网站公告: 深圳市海威讯电子有限公司全新网站上线!

Add App To Start Up Windows 11 May 2026

"4" Write-Host "`n📁 Startup Folder:" -ForegroundColor Cyan Get-ChildItem ([Environment]::GetFolderPath("Startup"))

"3" Select-Object Name Write-Host "--- Registry Run Items ---" -ForegroundColor Yellow Get-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run" add app to start up windows 11

switch ($choice) "1" $appPath = Pick-AppPath if (-not $appPath) Write-Host "No file selected." -ForegroundColor Red; exit Add app via Registry (hidden startup)" Write-Host "3

$startupFolder = [Environment]::GetFolderPath("Startup") $shortcutPath = Join-Path $startupFolder "$([System.IO.Path]::GetFileNameWithoutExtension($appPath)).lnk" $WScriptShell = New-Object -ComObject WScript.Shell $shortcut = $WScriptShell.CreateShortcut($shortcutPath) $shortcut.TargetPath = $appPath $shortcut.WorkingDirectory = [System.IO.Path]::GetDirectoryName($appPath) $shortcut.Save() Write-Host "✅ Added to startup (visible in Task Manager > Startup apps)" -ForegroundColor Green Startup apps)" -ForegroundColor Green &lt

<# .SYNOPSIS Add any application to Windows 11 Startup (Current User or All Users) .DESCRIPTION Creates a startup shortcut in the appropriate Startup folder or adds a registry entry for silent background apps. #> function Pick-AppPath Out-Null return $openFileDialog.FileName Main menu Write-Host "========================================" -ForegroundColor Cyan Write-Host " Add App to Windows 11 Startup" -ForegroundColor White Write-Host "========================================" -ForegroundColor Cyan Write-Host "1. Add app via Startup Folder (visible in Task Manager)" Write-Host "2. Add app via Registry (hidden startup)" Write-Host "3. Remove an app from startup" Write-Host "4. List current startup apps" Write-Host "========================================"

"2" $appPath = Pick-AppPath if (-not $appPath) Write-Host "No file selected." -ForegroundColor Red; exit $regPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run" $name = Read-Host "Enter a name for this startup entry (e.g., MyApp)" Set-ItemProperty -Path $regPath -Name $name -Value "`"$appPath`"" Write-Host "✅ Added to Registry (hidden startup – not in Task Manager startup list)" -ForegroundColor Green

$choice = Read-Host "Choose option (1-4)"

产品分类
数字图像应用
数码显微镜
内窥镜

查看更多

行业新闻查看更多
联系我们查看更多

公司名称:深圳市海威讯电子有限公司
联系地址 : 深圳市龙岗区南湾街道上李朗社区上李朗第二工业区E栋二楼
邮政编码 : 518055
联系电话 : 0755-89579620
联系传真 : 0755-89579620
邮箱地址 :584889896@QQ.com
公司总机 : 0755-89579620


移动业务 : 13302312756(陈先生)   13392853283(王先生)
淘 宝 店 :搜索 海威讯电子   
阿里巴巴:搜索 海威讯电子

地址:深圳市龙岗区南湾街道上李朗社区上李朗第二工业区F栋五楼 电话: 0755-28719720
COPYRIGHT © 2006-2019,WWW.HVSCAM.COM ,ALL RIGHTS RESERVED 版权所有 © 海威讯电子
sitemap feed