Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Permission Denied, trying to copy defaultuser ntuser.dat

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,62226
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Permission Denied, trying to copy defaultuser ntuser.dat
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Permission Denied, trying to copy defaultuser ntuser.dat - 7/8/2008 4:53:03 AM   
  biscuitgod

 

Posts: 2
Score: 0
Joined: 7/8/2008
Status: offline
I have a very simple script to copy a file, which i'd like to use to copy the NTUSER.DAT file for the Default User profile on our images.

Everytime i run the script i get Permission Denided error...However, if i copy the file manually, it copies with no problems.  I am logged in as Local Admin when this happens, but it almost seems that the script isn't using the local admin's rights.

Any ideas anyone?

Below is the script i'm using:

      
 
 
Post #: 1
 
 RE: Permission Denied, trying to copy defaultuser ntuse... - 7/8/2008 5:11:22 AM   
  biscuitgod

 

Posts: 2
Score: 0
Joined: 7/8/2008
Status: offline
Hey.. figured it out...

Needed a trailing '\' on my destination directory...

(in reply to biscuitgod)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Permission Denied, trying to copy defaultuser ntuser.dat Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts