Jump to content

ATrotter

Members
  • Content Count

    3
  • Joined

  • Last visited

Everything posted by ATrotter

  1. Hi all. Im looking for a way to block in install of only some software. i know i can lock it down with GP but i was hoping to be able to target particular software. we monitor many sites and we have one or two computers per day pop up with some form or another of "blah homepage and blah blah" generic homepage hijackers. I have been working on the education side of this however the time investment to return is hardly promising. I also encounter some people who get youtube rippers etc. Looking to try and protect my clients and minimise my own workload, im tired of chasing down people who wont listen.
  2. ATrotter

    Powershell popup not displaying

    Hi all. Im having a little trouble getting a scrip to work. I have tried a few different options to get it all working, however nothing comes up. so far i have tried. condensing the script and just calling it in a script. creating a script file and dumping it on the client machine and then calling it. the script work pefectly if i just run it on the computer, but the second automate is involved. nothing. the script is below for anyone interested -windowstyle hidden Add-Type -AssemblyName PresentationCore,PresentationFramework $ButtonType = [System.Windows.MessageBoxButton]::Ok $MessageIcon = [System.Windows.MessageBoxImage]::Exclamation $MessageBody = "This computer will reboot overnight. if you have any questions or concerns call " $MessageTitle = "Computer will reboot" $Result = [System.Windows.MessageBox]::Show($MessageBody,$MessageTitle,$ButtonType,$MessageIcon)
  3. ATrotter

    Powershell popup not displaying

    Methods i have tried so far. Powershell command as Admin/Powershell command(bothways) Add-Type -AssemblyName PresentationCore,PresentationFramework; $ButtonType = [System.Windows.MessageBoxButton]::Ok; $MessageIcon = [System.Windows.MessageBoxImage]::Exclamation; $MessageBody = "This computer will reboot overnight. if you have any questions or concerns call ***********";$MessageTitle = "Computer will reboot";$Result = [System.Windows.MessageBox]::Show($MessageBody,$MessageTitle,$ButtonType,$MessageIcon) This returns as successful but nothing happens Download: script saved to our automate server saved to temp folder on customers computer. Shell: powershell.exe -File %windir%\Temp\Computerwillreboot.ps1 This returns as successful, the file is on the computer at the required location but it does not trigger. if i use command prompt on the computer putting the second part. it work. if i use the labtech cmd interface it returns "ok" but nothing happens. I know this is possible but I do not know de wey
×