Jump to content

BullGates

Active Members
  • Posts

    77
  • Joined

  • Last visited

About BullGates

  • Birthday 12/24/1970

Profile Information

  • Location
    Portugal

Recent Profile Visitors

432 profile views

BullGates's Achievements

Wayfarer

Wayfarer (2/7)

1

Reputation

  1. Well but _AD_GetLastLoginDate() takes ages (it will query all the DC's to find the latest login, right?) If I limit the search to my site it's ok, about 12s...
  2. Worked fine now! Thanks!
  3. Now it worked, I see 420 DC's. o^O
  4. Has been running for about 10 minutes without any output. Should I stop it? Thank you for all your patience and support
  5. Now I get an huge quantity of error messages just like the error reported before, should I disable debug? I've clicked of dozens of times.
  6. No, never. I get this in the output of AutoIT: C:Program Files (x86)AutoIt3IncludeAD.au3 (1428) : ==> Error in expression.: Local $sAD_DsServiceDN = $oAD_DCRootDSE.Get("dsServiceName") Local $sAD_DsServiceDN = ^ ERROR ->15:26:08 AutoIT3.exe ended.rc:1 >Exit code: 1 Time: 145.250
  7. Yes I get the same error with _AD_ListDomainControllers.au3. It takes about 30s to process and then I get the error. The error pops at every function, for _AD_ListDomainControllers it's 3 times. We have around 30 domains, and every domain has at least 2 DC's, so it's around 60 DC's. The functional level is W2K3, I think we have W2K3 and W2K8, not bellow that.
  8. Hello, I get this error: COM error Encountered in _AD_GetLastLoginDate.au3 AD UDF version = 1.2.0 Scriptline = 1430 NumberHex = 80020009 Number = -2147352567 WinDescription = Description = The directory property cannot be found in the cache. Source = Active Directory HelpFile = HelpContext = 0 LastDllError = 0
  9. The latest one 1.2.0, and I use Windows 7 x64 (but compiling and running as x86 is the same).
  10. Hello, Thanks for the great work. I do have a problem with the sample script regarding _AD_GetLastLoginDate() function. It takes a lot of time until I get this error: AD.au3 (1428) : ==> Error in expression.: Since I have an huge domain structure I've tried to limit the function to the Site name, but still I always get the same error. Can you please help?
  11. Remoteunlock is detected as a virus or malware. Using API's does anybody knows how to unlock my own session by scripting? I've looked a bit at the code of remoteunlock but couldn't make it work in autoit: http://www.koders.com/cpp/fid1A233D0BFD7492ABC4204274273FE4FC84911367.aspx?s=iostream What am I doing wrong? Local Const $DESKTOP_SWITCHDESKTOP = 0x100 $hDesktop = DllCall("User32.dll", "int", "OpenDesktop", "str", "Default", "int", 0, "int", 0, "int", $DESKTOP_SWITCHDESKTOP) $iRet = DllCall("User32.dll", "int", "SwitchDesktop", "int", $hDesktop[0])
  12. This was the point of my post. We have x64 for some time now and still no compressor is available. x64 is widelly used now with Windows 7 and still upx does not support x64 executables.
  13. We are talking about x64 so if you want your x64 scripts reduced you should compress AutoItSC_x64.bin not AutoItSC.bin.
  14. Melba fixes are present also, the comments are included as you can see. I did nothing special, I've just put all the hints together and it solved my problems under Windows 7 x64, I've also tested in Windows XP and it seems to work fine. resources.udf in my opinion should be included in autoit, it's quite useful.
  15. I was looking for a way of getting smaller compiled scripts for x64, this seems to work fine and I get exe's around 340Kb: 1. Download the latest mpress from here 2. Compress C:\Program Files (x86)\AutoIt3\Aut2Exe\AutoItSC_x64.bin using mpress with switch /s 3. Compile the script as normal... If I use mpress like upx after the conversion, it wont execute the script. Have fun.
×
×
  • Create New...