Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

powershell logon scripts

Posted on 2015-01-22
8
156 Views
Last Modified: 2015-03-24
Hi Experts,
I have to map the cloud server using WebDAV so that users can use the mapped drive.
My problem is that when I use a regular logon scripts, the user name and password screen pops up.
If I use /user:domain\%username% parameter the end, then only password is required
Can I automate this process using a PowerShell so that nobody has to put the username and password?
If you have sample of this, that would be nice.
Thanks in advance
0
Comment
Question by:Ksean
  • 4
  • 2
8 Comments
 
LVL 93

Expert Comment

by:John Hurst
ID: 40564933
You can put the password after the user name and that will work. I use this on my own very secure machine.
0
 

Author Comment

by:Ksean
ID: 40565038
This runs from AD servers so I cannot put a specific password. and I also don't want to hardcode the password anywhere.
0
 
LVL 93

Expert Comment

by:John Hurst
ID: 40565044
I don't think powershell can help then. You would need to create some sort of program.
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 93

Accepted Solution

by:
John Hurst earned 500 total points
ID: 40566406
Can I automate this process using a PowerShell so that nobody has to put the username and password?

Yes, with a regular script as noted.

I also don't want to hardcode the password anywhere.

180 degrees contradicts the first objective. Complete oxymoron.

If you do not wish to hard code the password (good idea), then it must prompt.
0
 

Author Comment

by:Ksean
ID: 40640687
I've requested that this question be deleted for the following reason:

I cannot get the answer
0
 
LVL 93

Expert Comment

by:John Hurst
ID: 40640688
The workaround suggested above WILL work. If you do not want to hard code things then you must live with a prompt. So I do not think you can say "No Answer"
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There is no doubt that cloud is gaining importance. Many of you must have read about this technology and its growing importance. More and more organisations are embracing this technology not forgetting start-ups. The process begins by dipping …
Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

828 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