Jump to content

[deXter]

Member
  • Posts

    308
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

Everything posted by [deXter]

  1. Just use an infinite For loop with multiple If WinExists along with WinSetState. Works for me. What errors are you getting? Can you post your script here?
  2. Just do this CACLS M:\ZBSCAN /G dpag_admin:R followed by CACLS M:\ZBSCAN /E /G user1:F CACLS M:\ZBSCAN /E /G user2:F CACLS M:\ZBSCAN /E /G user3:F When you replace the ACLs with the first command, dpag_admin won't get the rights from the Users group. Once that is done, you can explicitly set full access rights to the other users instead of allowing the Users group. If you *want* to set ACLs to a whole Group, then create a special group for dpag_admin or the other users.
  3. Anyone know the way to accomplish this same wait in JScript? I've got a pile of ancient apps and utilities I have to install this way. They're also installed on boxes with widely varying speeds (Think VIA 800MHz to AMD ~3GHz.) Setting a reasonable sleep time fails if there's a delay. And setting it high enough for the slowest box makes all the other setups painfully slow. Kel var WshShell = WScript.CreateObject("WScript.Shell"); WshShell.Run("control.exe intl.cpl,SW_SHOWNORMAL,False"); do { WScript.Sleep(100); }while (!(WshShell.AppActivate("Regional and Language Options"))); B)
  4. Does this happen if you're only using the keyboard? Use the Arrow Keys to highlight the files, and press space to select.
  5. Just use CACLS like this: CACLS M:\ZBSCAN /G dpag_admin:R It works- I just tried it out. You'll only be allowed read access. If you try to create any file, you'll get "Access is denied." You shouldn't explictly specify a deny flag.
  6. Its very unlikely that its a virus/rootkit. Can you start the PC in Safe Mode without any errors? The best option would be to do a System Restore. Run a chkdsk (CHKDSK C: /F /V /X) followed by an SFC (SFC /SCANNOW). If that doesn't fix it, then boot from the XP Setup CD and perform a 'Repair' installation.
  7. I agree with jcarle. You shouldn't be using SendKeys in the first place, you should directly set the appropriate registry entries. Exactly what is it that you want to change? Perhaps we could provide you the appropriate registry values. Anyways, as an answer to your original question as to how to wait till a window exists, use this code: Do Until(WshShell.AppActivate ("Regional and Language Options")) = True WScript.Sleep 100 Loop This will wait till the "Regional..." window is open and active.
  8. What errors are you getting, exactly? Did you try it without the /E switch? if you remove /E, it'll replace the whole ACL instead of editing it. It should clear up all the ACL mess the files are in. Also, did you try the SID S-1-5-32-544 ? This is the SID of the Admin group, so any user who's in the admin group will get the ownership to the files. You can also use the SID S-1-5-32-547 for power users and S-1-5-32-545 for normal users. If all the above fail, you can also try SetACL to do it too SetACL -on "name-or-path-of-ur-folder" -ot file -actn setprot -op "dacl:np;sacl:nc" -rec cont_obj -actn setowner -ownr "n:S-1-5-32-544;s:y" This command resets a whole directory tree and sets the owner of all files and directories to the group 'administrators'
  9. No problem Idontwantspam, I guess my replies had been blocked by your 'spam' filters And yes, you can set the username as any user. And no, the username can't be "Everyone". "Everyone" is a group and chown doesn't support groups. However, there is a more advanced utility from Microsoft, called Xcacls. Instructions on how to use it are over here. To use the group "Everyone", just use the SID S-1-1-0. So with xcacls, the command might be something like this: xcacls "foldername" /F /S /T /E /G SID#S-1-1-0:D
  10. Thanks for the search- some really nice utilities in there including a widget for vista! The app I wanted should parse the most recent (~24hr) TAF. But, you're right, there are many variables involved here.. so I've decided to make one afterall. I'll probably allow the user to change the parameters as to what can be defined as good or bad wx. I'll post it here when its done
  11. If you are, do you use any alarm program based on aviation weather? Like, do you use anything to ring the alarm if the conditions are good or bad for flying? I searched the net for one and I couldn't find any, so I decided to make one. So if you use/know of any program like that, please let me know as it'll save me the trouble of making one on my own
  12. You can use FreeProxy to have whitelists and more. If freeproxy isn't working for you, I can make a whitelist program too. Also, let me make it clear that NoSetup is designed for programs that have an interface. Usually, viruses/malware don't have any interface so it wouldn't work for them. You can't use it as an Anti-Malware program- you should really use a proper AntiVirus for that.
  13. Idontwantspam, once again, did you try chown? Why are you ignoring my replies?
  14. Thanks for the reply I haven't tested NoSetup on Windows 98, but glad to see that it works! All modern browsers have that feature built-in- you should probably use that. If you want system-level protection, then you could use a free firewall like Comodo. -- Norman Malware Cleaner doesn't install anything to the system- it's just a single-file portable cleaner. It wont mess your system so I don't think there's any need to block it, right? AVG is, unfortunately, using a custom installer so I won't be making a block filter for it (for now) unless someone comes across other programs too using the same installer. Avira should have been detected earlier, but I've fixed it now. NoSetup_v1.1.zip
  15. I think you missed a bit of the point too. If you read carefully, although he may have difficulty with his english, he does state that he wants to prevent people from copying content from his local server, yet still be allowed to stream such content. The removable drives have nothing to do with it as he wants to prevent the copy from occurring even from the server to the local machine. Yeah, I meant that too. It can be done. The methods I described earlier can be used.
  16. I suggest you read them again. He doesn't want to lock down the system or anything! He just wants to prevent the copying of his files onto removable drives, while allowing users to copy their private files. Thats all!
  17. JulesKr, you're completly missing the point here.
  18. The problem with that or by using Software Restriction Policies is that the setup programs give an error - "Cannot write to.." or similar. What johnney wants is the setup program to not be able to run at all. No error messages, no alerts or anything. Also, it'll not work for programs that install to the users homepath, creates only HKCU entries, etc. @johnney: I made this program for you. I had this idea and wanted to do this long ago, but totally forgot about it till now. Enjoy NoSetup_v1.1.zip ( 186.6k )
  19. They're not sensitive codes. CON, PRN, NUL, LPT etc are all valid system devices. CON stands for console, LPT is line printer, NUL is null, and so on. The reason they're reserved is because you can still perform operations with them. If you have a parallel port printer attached to your computer, typing ECHO HELLO WORLD > LPT1 in cmd or DOS will print "HELLO WORLD" on your printer. Now try typing ECHO HELLO WORLD > CON . It'll redirect it to the console (screen). Similarly, ECHO HELLO WORLD > NUL will not do anything as it'll nullify the output. Do you have a dialup modem attached to COM1? Type ECHO ATDT911 > COM1 to dial 911
  20. You can restore your DELL to the factory settings by using the Dell™ PC Restore Utility.
  21. Why don't you try UltraVNC? It's a full featured, fast, professional VNC software thats available for free! Btw, if you're using a router, it may have a feature to control the bandwidth. The newer linksys routers have that option. Have a look at your routers config page- just type your "Default Gateway" IP in your browser. (You can get the default gateway ip by going to cmd (Start -> Run -> cmd) and typing ipconfig)
  22. Registry Crawler is an awesome program - Its multi-threaded, so it can search millions of keys in just a few seconds! Once the search is done, you can do various tasks on it, like find within the search, search and replace so and so in so and so keys, delete, edit, export. It's the fastest Registry finder I've ever used.
  23. I don't know about eascafe, but other remote programs like ultravnc can be installed as services- you can even see and operate the login screen remotely. The mp3s/files aren't deleted directly, they're first checked with the server. If the same file exists on the server, only then its deleted. It wont delete the users files. Please read my post again, carefully. Also, you don't have to do the whole delete method, you can follow method I in which files aren't deleted.
  24. [deXter]

    Refund

    It's not exactly a rumor, its just unofficial news. Unofficial because Microsoft hasn't formely announced it yet. But the Intel CEO, Paul Otellini, accidently did.
×
×
  • Create New...