  | 
			
				SoftTree Technologies 
				Technical Support Forums
			 | 
		 
		  | 
	 
	 
	
	
	
		
	
	
	
		| Author | 
		Message | 
	 
	
		
			jcvnstdn 
			 
			
  
			
			
				Joined: 21 May 2014 Posts: 1 Country: South Africa | 
			 
			  
		 | 
		
			
				  Error #1314 | 
				     | 
			 
			
				Hi guys, 
 
 
I am running the tool supplied (Runas.exe).
 
 
Here is what I am doing.
 
 
I am creating a batch file with the following ::
 
Net Use x: \\path
 
X:
 
runas.exe domain\user password file.bat
 
 
when i run the command i get the following
 
Logging in as domain\user
 
setting user environment...
 
Error #1314 loading user profile! Error ignored.
 
Logged in. Impersonating...
 
Starting Process file.bat...
 
Error #5 (null)
 
 
but nothing happens? it doesn't run the selected scirpt.
 
 
Please Help!
  | 
			 
		  | 
	 
	
		| Wed May 21, 2014 1:59 am | 
		          | 
	 
	
		  | 
	 
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Create another batch file, from which call your file.bat like this
 
 
cmd /C file.bat > c:\file_bat.log  2>&1
 
 
 
Run it and review the resulting log file. It should contains all output and system errors as well. Hope this helps.
  | 
			 
		  | 
	 
	
		| Wed May 21, 2014 8:31 am | 
		          | 
	 
	
		  | 
	 
	
		 | 
	 
 
  
	 
	    
	   | 
	
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
  | 
   
 
		 | 
	 
	  |