![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Set Permissions (NTSF) Hello How can i set Full Access for the D: Drive to Everyone? Futhermore can someone tell me a good IDE for Scripting with VBS? Since the head-company installed e new logonscript we recieve an error on every startup. This error goes away when we give foll acces to the D: Drive for Everyone. I Do not have o clue how to do this. How can i set Permissions in VBS? Thank You Regards, Albert |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Set Permissions (NTSF) Albert Andersson schrieb: Quote: > Hello > > How can i set Full Access for the D: Drive to Everyone? > Futhermore can someone tell me a good IDE for Scripting with VBS? > > Since the head-company installed e new logonscript we recieve an error > on every startup. This error goes away when we give foll acces to the D: > Drive for Everyone. I Do not have o clue how to do this. > > How can i set Permissions in VBS? > > Thank You > > Regards, > Albert Dim strHomeFolder, strHome, strUser Dim intRunError, objShell, objFSO strHomeFolder = "D:" Set objShell = CreateObject("Wscript.Shell") Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FolderExists(strHomeFolder) Then intRunError = objShell.Run("%COMSPEC% /c Echo Y| cacls " _ & strHomeFolder & " /e /c /g everyone:F ", 2, True) If intRunError <> 0 Then Wscript.Echo "Error assigning permissions for user " _ & strUser & " to home folder " & strHomeFolder End If End If Funktioniert wunderbar. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Set Permissions (NTSF) See below. "Albert Andersson" <albert.andersson@xxxxxx> wrote in message news:gqqf4d$6s1$1@xxxxxx Quote: > Hello > > How can i set Full Access for the D: Drive to Everyone? > Futhermore can someone tell me a good IDE for Scripting with VBS? Quote: > Since the head-company installed e new logonscript we recieve an error on > every startup. This error goes away when we give foll acces to the D: > Drive for Everyone. I Do not have o clue how to do this. > > How can i set Permissions in VBS? (http://download.microsoft.com/downlo..._installer.exe) Quote: > Thank You > > Regards, > Albert console command solution, which you could easily invoke from a batch file. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| FAT 32 0r NTSF | Vista hardware & devices | |||
| ultimate: permissions permissions permissions... | Vista General | |||
| Copying NTSF file into FAT 32 disk | Vista General | |||
| Copying NTSF file into FAT 32 disk | Vista installation & setup | |||
| Enabled permissions for "Everyone" but denied "change permissions" | Vista security | |||