Jump to content

fly

Member
  • Posts

    186
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by fly

  1. hmmm, anyone able to get this working with audit policies? I'm currently using the secedit.exe idea posted above, but I'm running into issues because it captures and resets the entire Local Security Policy.
  2. I apologize if I was unclear. I have some older machines whose NICs do not support PXE. Microsoft makes a floppy for some of these older NICs so that they will PXE boot. However, it doesn't work for all NICs. I need a PXE boot floppy so that all my machines can connect to my PXE server...
  3. Can you explain how to create a PXE floppy with PXELINUX? From what I read on their site, they point you elsewhere to get PXE on a floppy...
  4. They are all onboard NICs and I support over 1500 PCs. I was really hoping for a all for one, one for all bootdisk. =/
  5. We have some NICs that don't fully support PXE and Microsoft's RBFG.exe floppy that is part of RIS won't boot them either. I've found the ROM-O-Matic site where I can generate one, but I'm looking for a single disk I can carry around for our older PCs. Anyone got any (hopefully free) ideas? edit: I think I put this in the wrong forum.
  6. I really need an unattended install of it, but I'd settle for the full install files. Right now, all it downloads is a small app that connects to AOL to install it.
  7. It doesn't show calc on the machine, yet I show it running on the user's machine with my credentials. Can you confirm that WMI will allow network access when impersonating?
  8. Sadly I deleted most of it while testing, but here's what I have left... It's pretty basic. sComputer = "bc007576" sBatchFile = "echo.vbs" Set oWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & sComputer & "\root\cimv2:Win32_Process") sCommand = "calc" errReturn = oWMIService.Create(sCommand, null, null, iProcessID) If errReturn = 0 Then Wscript.Echo sCommand & " was started with a process ID of " & iProcessID & "." Else Wscript.Echo sCommand & " could not be started due to an error " & errReturn & "." End If Initially, the 'sBatchFile' was copied to the remote PC and then called in 'sCommand'. Whatever I copy and call won't attach to the network though. Thanks for any help.
  9. Okay, this seemed like an easy enough idea to code in Autoit, but its turning out not to be.... I have a batch file on SERVER1 that I want to get PC1 to run from my desk. The user logged on to PC1 doesn't have access to the file... * Tried PSExec. PSExec seems to work inconsistant, at best. Probably 50% of the time, it fails. * Tried BeyondExec, but it fails when attempting to use an ID/Pass (which is explicitly required to access the network). * Finally, I tried writing something in VBS and WMI to start the process, thinking I could make a snazzy ASP page for it. Apparently, WMI doesn't support spawning a process (with alternate credentials) that requires network access. So, anyone have any other ideas before I pull my hair out?
  10. Okay, it was too easy to do it in vbs. Although if someone could explain how to do it in batch, I'd love to hear it.
  11. I need to be able to loop through a text file, find a line and replace it. I know that I can use FOR /F, but how do I actually do the compare and replace. Is it possible in a batch file or should I just use VBS?
  12. Wow man. I really owe you a beer. I think this is the 2nd time you've saved my a$$.
  13. Anyone done this? Have any suggestions? I am somewhat at a loss here. Thanks for any help.
  14. Insteresting. That's good to know. Thanks for posting what fixed it.
  15. Would turning off the classic login screen off help, instead using the welcome screen? edit: nevermind, i dont think that would help at all. Don't mind me.
  16. Can you post your sysprep.inf (obviously deleting important things, like your key)
  17. Anyone able to convert some vb.net code to vbscript? (looks the same to me, but I don't know a thing about vb.net) I found the following code in this usenet post ' --- CodeSnip: Begin Dim mngScopeRSOP As New ManagementScope( "\\[SERVER]\root\rsop\computer" ) mngScopeRSOP.Options.Impersonation = ImpersonationLevel.Impersonate 'Default mngScopeRSOP.Options.Username = "[USER]" mngScopeRSOP.Options.Password = "[PWD]" mngScopeRSOP.Options.EnablePrivileges = True mngScopeRSOP.Connect() Dim putOptions As New PutOptions putOptions.Type = PutType.UpdateOnly putOptions.UseAmendedQualifiers = True Dim moAuditPolicy As New ManagementObject _ ( _ mngScopeRSOP , _ New ManagementPath( "RSOP_AuditPolicy.Category='AuditSystemEvents',precedence=1" ) , _ Nothing _ ) moAuditPolicy.Properties( "Failure" ).Value = True Try moAuditPolicy.Put( putOptions ) Catch exAuditPut As Exception ' --- Error occurd End Try ' --- CodeSnip: End If someone can make this work, I'd be willing to paypal ya some $$. Thanks!
  18. Thank you for even looking. It is appreciated. I did manage to find a way to check audit policy with WMI, so I may be getting there...
  19. Sadly, they are in an NT4 domain. I'm okay at scripting, but am unable to find any info on how to turn on auditing. Got any links?
  20. I want to enable logging of all success and all failures, but I need to be able to script this. I'm rolling out 400 machines this year and can't enable it on all of them. Thanks for your quick reply!
  21. I have a problem. I need to turn on XPs auditing features, but don't have an AD network. How can I do that? I've taken a registry snapshot, turned on the auditing settings, then took another snapshot and found nothing. Can anyone help me get these turned on? edit: I didn't make this obvious, but I'm trying to script via .reg files or vbscript...


×
×
  • Create New...