Jump to content

Mistake

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by Mistake

  1. 1.1.1.1 is an example
  2. i have read this....but i dont undestand why
  3. i have made this code but i recive the error 50...why? my smtp server require login...
  4. ok work.... tnx
  5. mmmm i have this for exaple: msgbox(10,"test","dsadsadsadsdsdsa") i want do an action if user press cancel or ok whit an if
  6. i have read this... Success: Returns the ID of the button pressed. Failure: Returns -1 if the message box timed out. but dont how can retrive it...
  7. how can retrive the keypressed from msgbox()?
  8. no beacause "SERVER_NAME_OR_IP=entarray.ministero.comunicazioni.priv ENABLE_AUTO_DETECT=0 REFRESH_WEB_PROXY=1 /qn" is 1 command...if i excute the command separate work.... the all code is: $userName = "gfdgfg" $domain = "dsadsadsaf" $password = "dsadsadsad" If FileExists("C:\Programmi\Microsoft Firewall Client 2004\") Then Exit Else Local $process=RunAsWait($userName,$domain,$password,1,'\\10.80.198.3\share\setup /v" SERVER_NAME_OR_IP=entarray.ministero.comunicazioni.priv ENABLE_AUTO_DETECT=0 REFRESH_WEB_PROXY=1 /qn"',@SystemDir) ProcessWaitClose($process) Local $msg=MsgBox(4,"Installazione Firewall Client ISA","L'installazione di ISA server 2006 è terminata, è consigliabile riavviare il computer. Vuoi Riavviare ora?") If $msg==4 Then Shutdown(6) EndIf EndIf
  9. i have made this code: Local $process=RunAsWait($userName,$domain,$password,1,'\\10.80.198.3\share\setup /v" SERVER_NAME_OR_IP=entarray.ministero.comunicazioni.priv ENABLE_AUTO_DETECT=0 REFRESH_WEB_PROXY=1 /qn"',@SystemDir) ProcessWaitClose($process) but the code in the '" "' doesn't be executed. why?
  10. because i must change the admin password when i disconnect....
  11. i can change password of local\admin whit autoit?
  12. i have made this program: RunAs("Administrator",@ComputerName,"dasdsa",0, "htzw.exe","C:\Programmi\ADTI\HerTZ Mapper\") but dont do nothig why?
  13. i have this script #Region;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_icon=Immagini\O_Odefrag_8.ico #EndRegion;**** Directives created by AutoIt3Wrapper_GUI **** If Not IsAdmin() Then RunAs("Administrator",@ComputerName,"bla bla", @ScriptName,@ScriptDir) Exit EndIf MsgBox(1,"Deframmentazione",blablablalbla") RunWait("mmc.exe dfrg.msc",@SystemDir) but if use it from users dont start why? O_O PS: i use Scite editor tnx
  14. I must change the ip address for machines whit a script...anyone can help me? ps: the script must run in admin mode...why the users dont have the permission tnx
×
×
  • Create New...