Running CACLS.exe as user

Tech-Archive recommends: Speed Up your PC by fixing your registry



I have written a script that starts Outlook 2003 and creates a new user
profile when a user logs in. Howeve, I want to get rid of the shortcut in the
programs menu, but users do not have permissions on th C: drive. I have added
the following line to change the permissions on th efile but it does not work
when run as a user.
I am presuming that CACLS.exe will only run as an administrator. Just
looking for confirmation that I am right.
WshShell.Run("cmd /c echo y| cacls " & menuicon & " /T /E /g
Everyone:F"),0,true
If I am right is there another way to delete these shortcuts?
Thanks

.



Relevant Pages

  • Re: security only works on my PC
    ... shortcut successfully on my PC. ... Just open Windows Explorer and double click the 'secure' mdb. ... I opened the workgroup administrator ... I'm not sure about changing the permissions. ...
    (microsoft.public.access.security)
  • Re: Desktop shortcuts dont work
    ... I don't see anything that strikes me from a security perspective. ... Since the permissions on the redirected Desktop folder seem OK, have you run that tool to check the context menu handlers? ... The other diagnostic tool you could try is filemon - start monitoring, try to access the shortcut, and see what it logs when it fails. ... The shortcut has grayed out Full Control given to Administrator and to System. ...
    (microsoft.public.windows.server.sbs)
  • Re: Desktop shortcuts dont work
    ... Since the permissions on the redirected ... Desktop folder seem OK, have you run that tool to check the context menu ... The shortcut has grayed out Full Control given to Administrator and to ...
    (microsoft.public.windows.server.sbs)
  • Re: security only works on my PC
    ... shortcut successfully on my PC. ... Just open Windows Explorer and double click the 'secure' mdb. ... I opened the workgroup administrator ... I'm not sure about changing the permissions. ...
    (microsoft.public.access.security)
  • Re: NetDiag 220520
    ... Please reply to the newsgroup ... I don't say you *should* get rid of it. ... me through this so I can get rid of that icon on my desktop. ... Assuming that you are talking about a shortcut icon on your desktop ...
    (microsoft.public.windowsxp.basics)