Why doesn't the Del command work in a startup scrip? RRS feed

  • General discussion

  • Basically what the title says.  I tried including the command in a startup script to delete a specific file but it doesn't work.  The file still is present.  I even added Everyone under the Security permissions and gave Full rights but still it doesn't work.  I know startup scripts run under some different context so I'm not sure if this is the case of why it doesn't work but can anyone give some details as to why?
    • Edited by MD2Tech Tuesday, June 12, 2018 8:40 PM
    • Changed type Bill_Stewart Monday, July 30, 2018 1:48 PM
    • Moved by Bill_Stewart Monday, July 30, 2018 1:48 PM Unanswerable drive-by question
    Tuesday, June 12, 2018 8:40 PM

All replies

  • What script?

    -- Bill Stewart [Bill_Stewart]

    Tuesday, June 12, 2018 9:22 PM
  • Startup scripts run with the permissions of the computer object (there is no user yet). Does this explain what you experience? Giving permissions to the Domain Computers group should work.

    Richard Mueller - MVP Enterprise Mobility (Identity and Access)

    Tuesday, June 12, 2018 9:35 PM