Forum Discussion

AB21805's avatar
AB21805
Bronze Contributor
Nov 25, 2022

Removing start up websites on log in

Hi all,    I was wondering if you can help me I have set up a website to start up on log in via script    Script:    param( [string]$ShortcutName = "Bromcom", [string]$ShortcutUrl = "https://...
  • Jannik_Reinhard's avatar
    Jannik_Reinhard
    Nov 26, 2022

    AB21805 
    This should be the solution:

     

     

     

    $ShortcutName = "Bromcom"
    Remove-Item -Path "$($env:ALLUSERSPROFILE)\Microsoft\Windows\Start Menu\Programs\Startup\$ShortcutName.lnk"

     

     

     

Share

Resources