Search found 2 matches

by fong21051
Fri Jan 25, 2013 2:12 am
Forum: VBScript
Topic: VBScript to take ownership
Replies: 3
Views: 3351

VBScript to take ownership

Hi Guys, I have amended my script below to try and take ownership of the profiles, but now I receive the following error: Line: 26 Char: 5 Error: Permission denied. Line 26 is the following line: objFSO.DeleteFolder objUser.profilePath, True It looks like the "TAKEOWN" function did not work? I am so...
by fong21051
Wed Jan 23, 2013 11:32 pm
Forum: VBScript
Topic: VBScript to take ownership
Replies: 3
Views: 3351

VBScript to take ownership

Hi Everyone, I have written a VBScript to delete userfiles/data. But the issue is when I run my script I receive the following error: line: 24 Char:18 Error: permission denied. I'm pretty sure the problem is that I do not have "Ownership" permissions of some of the profiles thus receiving the error ...