Scripts Thread, Login script to change ntfs permissions on cmd.exe in Coding and Web Development; Command Post
In relation to the above post, I have manually set deny permissions on cmd.exe and command.com for the ...
-
22nd November 2006, 11:01 PM #1 Login script to change ntfs permissions on cmd.exe
Command Post
In relation to the above post, I have manually set deny permissions on cmd.exe and command.com for the pupils and it solves the problem above.
Is there a vbscript that can be run on login script that changes the permissions on this file?
-
-
IDG Tech News
-
22nd November 2006, 11:04 PM #2 Re: Login script to change ntfs permissions on cmd.exe
You might want to investigate the usage of cacls.exe.
-
-
23rd November 2006, 09:02 AM #3 Re: Login script to change ntfs permissions on cmd.exe
You will need to use a startup script so that your script runs with sufficient priviledges.
Cacls is the way to go though
-
-
23rd November 2006, 12:04 PM #4 Re: Login script to change ntfs permissions on cmd.exe
Can't you do this through Group Policy under Computer Config, Windows Settings, Security Settings, File System, then add the path to the file/folder you want to affect and set the required permissions?
-
-
23rd November 2006, 10:33 PM #5 Re: Login script to change ntfs permissions on cmd.exe
Can't you do this through Group Policy under Computer Config, Windows Settings, Security Settings, File System, then add the path to the file/folder you want to affect and set the required permissions?
Yes you can, we do this with certain machines in certian OU's who have software installed that mey need to write to the C:\windows\temp folder.
-
SHARE:
Similar Threads
-
By CyberNerd in forum Thin Client and Virtual Machines
Replies: 2
Last Post: 11th May 2007, 05:32 PM
-
By Halfmad in forum Windows
Replies: 4
Last Post: 25th April 2007, 11:22 AM
-
By e_g_r in forum Windows
Replies: 4
Last Post: 16th February 2007, 06:48 PM
-
By localzuk in forum Windows
Replies: 7
Last Post: 8th January 2007, 05:23 PM
-
Replies: 4
Last Post: 21st June 2006, 05:21 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules