0

Is there a way to automatically enter text in to a password prompt window in ms windows with script .

I am attempting remove a product that will not allow removal when the password is applied , how ever passing the password in CMD does not work as the prompt will all ways appear .

Product SEP 12.1

Jimbo Muldy
  • 37
  • 2
  • 6

1 Answers1

0

Don't know if this will help you or not, but:

http://wasp.codeplex.com/

mjolinor
  • 66,130
  • 7
  • 114
  • 135
  • POWERSHELL-WASP found this on a SEP Site `Clear-Content c:\log.log Start-Process "msiexec" -Args "/x {F4A73EC6-EFC4-488D-AF1A-F2C3CD1BC072} /qb-! /l*v c:\log.log" Start-Sleep -Seconds 10 do { $log = Get-Content c:\log.log Start-Sleep -Seconds 5 } until ($log[-2] -match "CheckUninstallPassword") Import-Module '.\WASP.dll' Select-Window * | Select-ChildWindow | Send-Keys "%CHANGE_TO_REQUIRED_PASSWORD%" Select-Window * | Select-ChildWindow | Send-Keys "{ENTER}"` – Jimbo Muldy Apr 18 '13 at 14:26
  • I'd say that might qualify as 'helpful'. :) – mjolinor Apr 18 '13 at 15:15