Solved

Powershell to create automatically logon and execute PS

Posted on 2015-02-08
4
61 Views
Last Modified: 2015-02-26
Hey

I'm looking for a powershell script to create a automatically logon and after login executes a powershell script.

Thanks in advance

Michael
0
Comment
Question by:mikeydk
4 Comments
 
LVL 4

Expert Comment

by:Praveen Kumar Bonala
ID: 40596852
Hi,
following is my finding.
1. you are already holding a power shell script will assume it as test1.ps.
2. you need to another ps, which using to login into system and execute test1.ps
correct me if I am wrong.

instead of creating new ps, you can schedule test1.ps, it will executed automatically at required time with out login into system.

Please let me know if you are expecting other things to do...
0
 

Author Comment

by:mikeydk
ID: 40596881
Hey

Correct, but I have to logon because the script (I have) needs a GUI to work.

Thanks in advance
0
 
LVL 37

Accepted Solution

by:
Neil Russell earned 500 total points
ID: 40614149
If the script needs a GUI that would imply it needs user intervention.  If it needs user intervention then get the user to logon and have the script in the startup folder.

If it does NOT need user intervention then why does it need a gui to run?
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
Set OWA language and time zone in Exchange for individuals, all users or per database.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now