Results 1 to 7 of 7

Thread: How to block deleting Shortcuts onWindows Desktop?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2003
    Posts
    509

    Question How to block deleting Shortcuts onWindows Desktop?

    Inva
    Last edited by raladin; Mar 29th, 2014 at 08:37 PM.

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906
    There should be a directory called:

    C:\Documents and Settings\All Users\Desktop\

    Set the permissions on this directory so only the Administrator can write and delete files. Any shortcuts you put in this directory will then be visible to all users, but they will not be able to delete them.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2003
    Posts
    509
    Inva
    Last edited by raladin; Mar 29th, 2014 at 08:37 PM.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2003
    Posts
    509
    Inva
    Last edited by raladin; Mar 29th, 2014 at 08:37 PM.

  5. #5
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    Make the shortcuts read-only or apply the permissions still, just make sure you allow yourself to turn them back on when you need to modify them.
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2003
    Posts
    509
    Inva
    Last edited by raladin; Mar 29th, 2014 at 08:37 PM.

  7. #7
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    1. Open the user's account in My Computer (C:\Documents and Settings\User1\) and right-click the Desktop folder.
    2. Click the Security tab (If this is not visible, click Cancel and then click the Tools menu, Folder Options..., View, uncheck Use Simple File Sharing (Recommended), redo above procedure to get back to the security tab).
    3. Click Add....
    4. Type in the users username and click OK.
    5. Click Advanced.
    6. Select the user and click Edit...
    7. Uncheck Delete, Delete Subfolders and Files and Change Permissions under the Allow column.
    8. Click OK, OK, OK.
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width