
memnon
Active Members-
Posts
140 -
Joined
-
Last visited
Everything posted by memnon
-
Scripting Active Directory - Grouppolicy Settings
memnon replied to memnon's topic in AutoIt General Help and Support
i push this thread up once again - perhaps someone got the idea, how it could be done although its not supported.... the only idea i have atm is sending keystrokes -
SQLite semi Embedded database functionality in AutoIt
memnon replied to ptrex's topic in AutoIt Example Scripts
as i got the time to do it, i will do it, for shure @ptrex -
SQLite semi Embedded database functionality in AutoIt
memnon replied to ptrex's topic in AutoIt Example Scripts
i think it would be really a good idea to have database functions integrated in autoit. -
Scripting Active Directory - Grouppolicy Settings
memnon replied to memnon's topic in AutoIt General Help and Support
i think you misunderstood.... read THAT line: Scripted control of individual settings inside a GPO is not provided. and thats exaclty what i wanted to do only thing would be to analyse a backuped gpo but i think that would be really to complex -
Scripting Active Directory - Grouppolicy Settings
memnon replied to memnon's topic in AutoIt General Help and Support
i think i found the answer for myself http://www.microsoft.com/technet/prodtechn...81057ffcef.mspx Note Scripted control of individual settings inside a GPO is not provided. The scripts include examples written in VBScript and JScript. They all have the .wsf extension and are executed through Windows Script Host (WSH), which is included with Windows Server 2003 and other recent versions of Windows. All of the scripts should be executed from the command line. Executing a script with the /? switch displays the usage for that script. -
Scripting Active Directory - Grouppolicy Settings
memnon replied to memnon's topic in AutoIt General Help and Support
with adsiedit.msc its only possible to query for something in ad if i am right, i found no way to CHANGE or SET a setting in gpos -
Scripting Active Directory - Grouppolicy Settings
memnon replied to memnon's topic in AutoIt General Help and Support
i searched the forum already for gpo related topics, but found nothing, so i made this thread could you give me a sample of how could be done this ? -
@LxP ... DONE and i workes TO fast, that the Select Computer Window could be seen - so i´s that what i want thank you all for your response
-
Wrong folder when using RunAsSet()...
memnon replied to zandztrom's topic in AutoIt General Help and Support
i´m not shure but i had a similar problem, runasset seems not to work over the network (unc or drivemapping) in my script i made only changes to lokalpathes instead of networkpathes and it worked -
well got that now - other problem is - that i cant get services.msc startet that way if $msg = $regedit then for $i=0 to $anzahl $x=$x+GUICtrlRead($check[$i]) next if $x=(($anzahl+1)*4)-3 then for $i=0 to $anzahl $expl="Regedit.exe" if GUICtrlRead($check[$i])=1 then if $t<1 then Run($expl, "",@SW_MAXIMIZE) $t=$t+1 EndIf WinWaitActive("Registrierungs-Editor") ;Sleep(2000) Send("!D") Send ("m") Send ($rechner[$i]) Send ("{ENTER}") Endif next EndIf endif is working.... but... if $msg = $services then for $i=0 to $anzahl $x=$x+GUICtrlRead($check[$i]) Next if $x=(($anzahl+1)*4)-3 then for $i=0 to $anzahl if GUICtrlRead($check[$i])=1 then if $t<1 then RunWait(@ComSpec & " /c " & "services.msc", "", @SW_HIDE) ;run("services.msc") $t=$t+1 Endif WinWaitActive("Dienste") Send("!t") Send ("V") Send ($rechner[$i]) Send ("{ENTER}") endif next EndIf endif is not working, i cant start services.msc with run(...) because this is only working with exe, bat, etc... i dont know why, but i cant get the keys working with services.msc ups i forgot.... i want to make a little programm to connect remotly to registry, services, eventlog, etc...
-
Why isnt that working ?.... teh registry Editior pops up and is in front, i want to get the filemenu up and remote connect to a networks registry. (its german version, d for Datei = File) $expl="Regedit.exe" if GUICtrlRead($check[$i])=1 then Run($expl, "",@SW_MAXIMIZE) WinWaitActive("Registrierungs-Editor") Sleep(1000) send("{ALTDOWN}") Send ("d") send("{ALTUP}") Send ("m") Send ($rechner[$i])
-
Problems generating dynamic checkboxes
memnon replied to memnon's topic in AutoIt General Help and Support
thanks valuater, sometimes i am to stupid to see the easiest things... -
Hello i have a array, the array is filled with dnsnames and is automaticle created via a search/ping function. i now want to get this computernames in a gui (what works already), but i do not know how i get back the state of the generated checkboxes, as you can see below... for $i=0 to 49 $down=$down+25 if $rechner[$i]<>"0"then GuiCtrlCreateCheckbox($rechner[$i], 10, $down, 100, 30) endif next normaly i would use a variable for the checkbox f.e. $check=GuiCtrlCreateChechbox,.... and then i would use GUICtrlRead($check) to read the value of the checkbox - in my case i dont know how this could be done - i need automaticle generated variables in this loop to get the states of all checkboxes what are generated...
-
problem with administrativ share and fileactions..
memnon replied to memnon's topic in AutoIt General Help and Support
i will try that, thx -
problem with administrativ share and fileactions..
memnon replied to memnon's topic in AutoIt General Help and Support
1. client4. yes 5. yes as i told ya, althing works right, if i dont use runasset, create the script for admin account and start it as admin.... -
problem with administrativ share and fileactions..
memnon replied to memnon's topic in AutoIt General Help and Support
if anyone could try.... make a script, what uses runasset and try to create a dir on a server´s administrativ c$ share (\\server\c$\"anydir") log on as admin - it works log on as normally user - it does not work -
problem with administrativ share and fileactions..
memnon replied to memnon's topic in AutoIt General Help and Support
1. xp sp2, firewall disabled2. i createfile with autoit itself (FileCreate..) 3. windows 2003 sp1 with firewall disabled 4. shure i am but as i said, it seams, that it only works without runasset if i make scripts without runasset and logged on as admin, it does work on the same destination and source -
problem with administrativ share and fileactions..
memnon replied to memnon's topic in AutoIt General Help and Support
the runasset options, does what it should, i create locally a file and that IS working with that, but its nor possible to create the file on the net, without giving the loggedon user rights to the share, the administrator (with runasset) HAS full permissions to the share AND the ntfs folder, if i log on AS the administrator i can create the file, if am logged on as user ic an only create the file locally using the runasset function. i tried also to use the path directly in the fileopen dialog, without the variable -
problem with administrativ share and fileactions..
memnon replied to memnon's topic in AutoIt General Help and Support
na, the file exists on the server, what i did not say ... i use runasset to get the neccessary rights -
Hi, i have problems to get following script to work, i want to get informations from a file on a server using administrative c$ share... i always get "unable to open file .aitdump.ini" i AM Domainadministrator and have full permissions to the file... does autoit not support administrativ shares ? #Include <process.au3> $Aitdumpinicheck="\\server\c$\windows\aitdump.ini" $file = FileOpen($Aitdumpinicheck, 0) If $file = -1 Then MsgBox(0, "Error", "Unable to open file. aitdump.ini") Exit EndIf $dump = FileReadLine($file,1) ;Msgbox (0,"AIT Dump",$dump) $dumppfad = FileReadLine($file,2) ;Msgbox (0,"AIT Dump",$dumppfad) $copypfad = FileReadLine($file,3) FileClose($file)
-
is there a way to "net stop service" via autoit function ?
-
thx
-
Hello i want to read all mapped printers via registry under HKEY_CURRENT_USER\Printers\Connections ,,Server,hplaser ,,Server,hplaser2 ,,Server,hplaser3 that are the names of the mapped Printers BUT they are KEYS not values. my problem is that i dont know, how many printers are available on the server, so i dont know excactly how to use RegEnumKey ( "keyname", instance ) in a do while loop any idea how i can read em ?