Jump to content

TheLug

Active Members
  • Posts

    47
  • Joined

  • Last visited

Everything posted by TheLug

  1. Yes, running it as an admin. I added #RequireAdmin already with no change. Playing around with RunAs but it isn't working...
  2. RunWait (@ComSpec & " /k " & 'sc config "' & $Srv1 & '" obj= "' & $obj & '"', @SW_SHOW) got it working but getting [SC] OpenService FAILED 5: But it works if i paste the command directly into an admin prompt.
  3. Ok so I have it working with an admin CMD prompt. sc config "RapiMgr" obj= "localsystem" When I try to run it with AutoIt I can't get it to change the option: $Srv1= "RapiMgr" $obj= "localsystem" Run (@ComSpec & " /c " & 'sc config ' & $Srv1 & ' obj= ' & $obj & "", @SW_HIDE) I'm sure I've screwed something up with my quotes but everything else is working. What am I missing here?
  4. No i already changed it and the service is currently running is why it is grayed out. I am attempting the method mentioned by Jlogan3o03 now.
  5. I want to toggle the setting on the second tab of an existing services properties. I have tried some UDF's and other AU3 includes i have found but nothing works yet.
  6. Yes it is part of the rightfax package for digital faxing. I am using the package and getting this. IF i try to do it manually i get the same pop up.
  7. It trys to install the driver. But it pops up the screen shot asking for you to click install / don't install.
  8. I tried even running it manually in CMD. I also ran with auto it and used runwait comspec, and tried x86 & x64
  9. /install & /add-driver i guess are not valid in mine tells me to use -i & -a
  10. PnPutil.exe -i -a c:\Users\user1\Desktop\RF_162\Source\RightFax\Drivers\rfps.inf
  11. just tried still need to click the Install button
  12. kind of abandoned methods here as I wasn't making progress. 2nd post I made is: https://www.autoitscript.com/forum/topic/196891-no-commands-working-on-window-with-class-32770/
  13. Window Screen Grab Attached, Window Info Screen Grad Attached. Code with multiple things trying below. Nothing will interact with this window. Is this a problem because it is a windows security window? Pulling my hair out over here. #RequireAdmin #include <AutoItConstants.au3> Sleep (5000) MouseMove (940, 450, 50) Sleep (5000) WinActivate ("Windows Security") ControlClick('[CLASS:#32770]', 'Windows Security', '[CLASS:Button; INSTANCE:1]') ControlClick ("Windows Security", "", "","left",1,940,450) MouseClick ($MOUSE_CLICK_LEFT) MouseClick ($MOUSE_CLICK_LEFT) Also asked for help in this post but moved to this since nothing is working. https://www.autoitscript.com/forum/topic/196877-rundll32-silent-help/
  14. cert method is not working. Installshield is an option but would rather not take that route. Still playing around.
  15. thanks. attempting the cert export method now. Will update.
  16. I am running this string to install a driver for RightFax. I keep getting a pop up asking to accept, I am trying to get it to work in CMD or AutoIt but no luck on either. Here is the CMD string. I have tried q, quiet, s, silent, 1. nothing seems to make it run suppressed. Any idea? I attached a snip on the dialog box. Any help on converting it to AutoIt silently would also be appreciated, but I can't get it to install either way right now without clicking the "Install" button. rundll32.exe printui.dll PrintUIEntry /ia /m "RightFax PostScript" /f c:\Users\Me\Desktop\Source\Prereqs\Drivers\rfps.inf
  17. I think this is gonna get the job done!!! Great idea thanks so much!!
  18. So I have a ton of machines that have a ini file in the windows dir. I need to pull a specific fields value and save all that data in one place. I was going to push out my script via SCCM once ready. I can pull the data from the field. But what would be the best way to put that info into a file? The initial thought was to create a new ini file with the PC ID, the copy that file to a network share. But I am thinking there has gotta be something better, like saving to a csv, using powershell, etc. Any help would be appreciated. $LogFileDir = ("C:\LogFiles") $OriginalIni = (@WindowsDir & "\Original.ini") $OriginalIniRead = IniRead ($OriginalIni, "Scanner","ComPort","Null") $Server = ("\\ServerName") MsgBox (64,"Scanner ini COM Port",$OriginalIniRead,4) IniWrite ($Server & "\" & @ComputerName & ".ini" , "OriginalComPort" , "Value" , $OriginalIniRead)
  19. Transform didn't work I assume because it is embedded in another MSI. I opened it with installshield and found the 2 entry's in there and just deleted them and created a new copy. It appears to have just removed the box with no other ill effects. InstallShield
  20. That's a good thought I will try the MST. But since it is a separate process not sure it will allow me to do that.
  21. Yep, I completely understand, I used the switches you mentioned already. It still pops open the CMD window and the MSG BOX window. Screen shot attached. ScreenShot
  22. The CMD window opens and says not to close. Then a few seconds later a separate window opens that is shown in the Process Explorer picture i attached,.
  23. Tried this but when this happens the first installer does not complete properly.
×
×
  • Create New...