Using ADS 1.1 with winPE - how do i run commands?

  • Thread starter Thread starter Matthew Millers
  • Start date Start date
M

Matthew Millers

Hi,

I am using ADS 1.1 booting into Windows PE, everything works fine, ADS
status shows that the node is currently running in the PE environment. My
question is, how from the ADS can i map and drive and run a command from the
mapped drive. I try this with the commands embedded in a batch file but it
just errors out with unknown error.

What exactly is the point of PE in ADS, is it actually usable?

Matthew
 
Hello,

Thank you for using newsgroup!

I was not clear in your question. What is the goal you want to achieve?

Thanks & Regards,

Mike Luo

Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi,

I have some dell supplied utility which can run in PE, these have variables
embedded which reference a mapped drive (any mapped drive), i just want to
know how I can map a drive via the ADS in the PE environment?

Thanks
Mattehw


"Mike Luo [MSFT]" <v-miluo@online.microsoft.com> wrote in message
news:2IirQNHxHHA.5204@TK2MSFTNGHUB02.phx.gbl...
> Hello,
>
> Thank you for using newsgroup!
>
> I was not clear in your question. What is the goal you want to achieve?
>
> Thanks & Regards,
>
> Mike Luo
>
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
>
> =====================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
 
Hello,

In ADS case, a job represents a task that either is running or has
completed on a device, multiple devices, or set. A job can perform any one
of several types of tasks. A job can be a script, executable, internal
command including Pre-Boot eXecution Environment (PXE) and imaging actions,
or a task sequence. So you can place map drive instructioins into a job.
For configuration of job, please refer to the following documents:
Automated Deployment Services Technical Overview
http://www.microsoft.com/windowsserver2003/techinfo/overview/ads.mspx
Online Help for Windows Server 2003, Automated Deployment Services (ADS)
http://www.microsoft.com/downloads/details.aspx?FamilyId=A4909B20-D753-412F-
9EB9-DF62E013429B&displaylang=en

Fore assistance with WinPE issue, please post to the System Builder
newsgroups here:
<http://www.microsoft.com/technet/community/newsgroups/topics/sysbuilder.msp
x>

Hope this helps.

Mike Luo

Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hello,

I would appreciate it if you could drop me a note to let me know the status
of the issue in the thread. If you have any questions or concerns, please
feel free to let me know. I am happy to be of assistance. :)

Mike Luo

Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Mike,

Thanks for your patience.

Just the same issue as before really.

I can boot the into the PE image and the DA is running. How can I execute
commands from this environment?

Matthew
 
Hello,

There are two ways of doing it:
1. two tasks
a. 1st task run NET USE M: \\computer\share /U:domain\user pass
/PERSISTENT:YES, w/ or w/o /U and pass depending on the share security
properties. If share host is running IPSec and it is not a boundary machine
it will not work, unless IPSec settings are changed to ask for
authentication but not to require it. This is usually controlled by domain
group policy so they might need a boundary machine.
b. 2nd task run the utility
2. one task: use a script to run both. The IPSec stuff still applies.

Notes about OS:
1. Both methods work if you run WinPE.
2. Only #2 works if you run full OS

This has to do with the fact that in WinPE there is only one user - the
system.

In addition, you can map a drive with the net use command from the WinPE
command prompt. Syntax for the same is as follows: -

Net use [Drive letter or * ] \\computername\sharename /u:<domain
name>\<user id> *
When prompted enter password

Note: Make sure that you have added appropriate NIC card driver to ensure
proper network connectivity.

Hope this help.

Mike Luo

Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hello,

We wanted to see if the information provided was helpful. Please keep us
posted on your progress and let us know if you have any additional
questions or concerns.

We are looking forward to your response.

Mike Luo

Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top