Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-18-2006, 12:43 PM   #1
Member (5 bit)
 
PierCed_3's Avatar
 
Join Date: Sep 2004
Posts: 31
Username login for CACLS command

I am trying to CACLS a folder on the C: drive for our users on the floor (restricted generic user account) and would like to do it in a batch file... Question is, how do I launch the batch file as a particular user? I need to run it as admin.

Any suggestions?

Thanks!

Andrew
PierCed_3 is offline   Reply With Quote
Old 09-18-2006, 01:04 PM   #2
Member (5 bit)
 
PierCed_3's Avatar
 
Join Date: Sep 2004
Posts: 31
I just found it... I was having a major brainfart. The command is Runas. Does anyone know the correct syntax? One that I can understand? The syntax it gives you from Microsofts website is really confusing and it makes me believe that I need to use all the parameters.
PierCed_3 is offline   Reply With Quote
Old 09-18-2006, 02:24 PM   #3
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 36,460
What operating system are you referring to?
glc is offline   Reply With Quote
Old 09-20-2006, 03:28 PM   #4
Member (5 bit)
 
PierCed_3's Avatar
 
Join Date: Sep 2004
Posts: 31
win xp

Sorry, I should have posted that.

What I am trying to accomplish is to give full access to a folder called C:Barcode to 150 computers on the floor. I am using a batch file at startup for the generic user on our production floor to map drives and I want to add a CACLS command to give full access to the folder. I have figured out the syntax now I just need to figure out how to make it so it doesn't ask for the password.

Does anyone know how to do this?

Thanks again.

Andrew
PierCed_3 is offline   Reply With Quote
Old 09-20-2006, 03:41 PM   #5
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
http://blogs.msdn.com/oldnewthing/ar...29/271551.aspx is a good discussion on the password prompt with runas. There are a number of considerations listed based on the level of security you're looking for.
Statica is offline   Reply With Quote
Old 09-21-2006, 02:20 PM   #6
Member (5 bit)
 
PierCed_3's Avatar
 
Join Date: Sep 2004
Posts: 31
Good info! I ended up using Sanur for my needs. It's a little confusing but it does the job. Thanks for the help, I appreciate it!

Andrew
PierCed_3 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Acronyms Floppyman Computer Hardware 156 06-18-2006 07:25 AM
Username on Login Auriga Windows Legacy Support (XP and earlier) 2 09-04-2005 02:00 AM
Begining DOS help longrawker Windows Legacy Support (XP and earlier) 17 11-13-2004 12:55 PM
Default login username? MSIuser Windows Legacy Support (XP and earlier) 3 06-18-2004 08:18 AM
Heres some Window Secrets Citron Windows Tips, Tricks, and Tweaks 22 01-12-2003 08:07 AM


All times are GMT -5. The time now is 03:43 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0