Quantcast
Channel: Windows 7 Miscellaneous forum
Viewing all articles
Browse latest Browse all 11372

All Users Startup Folder

$
0
0

Hello,

I think I may be missing something. Basically I have a PowerShell script that needs to run when a user logs in. So I have this powershell script saved on a network File Server, and have a batch file that will call the powershell script. Neither of that is the problem. My problem is programatically getting that batch file into the all users startup folder. I can open the folder through explorer and save to it, but through Powershell or Command Prompt I get access denied when I try and browse into the folder, or copy to it.

It seems I can access the Startup folder through PowerShell ISE but unable to programatically copy anything into it.

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 11372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>