Minlogin

  • Thread starter Thread starter Mule Skinner
  • Start date Start date
M

Mule Skinner

With minlogin, which username and password do I use when trying to connect
to a share drive? I was under the impression everything was under the
system username and no password?
 
Mule,

As far as I remember to share a drive you need Explorer Shell component that
depends on Winlogon.

Why do you need to share a drive from Minlogon image?

KM
 
I needed it so users can copy files to and from the system. Would I be
better off with FTP as far as size?

It lets me share it just fine, I'm confused to what to enter for the name:
NT Authority or System or Administrator.
Maybe it's not possible, however I saw a message before stating it was but
can't find it.

I have other problems......
The Shutdown & Reboot Command is missing from the TaskManager
I can copy files from other computers, but Map Network drives is on the menu
but doesn't do anything.
 
Mule,
I needed it so users can copy files to and from the system. Would I be
better off with FTP as far as size?

FTP is always a good choice especially if you want to copy file to the
device.
It lets me share it just fine, I'm confused to what to enter for the name:
NT Authority or System or Administrator.
System.

Maybe it's not possible, however I saw a message before stating it was but
can't find it.

Minlogon uses system account as the logon session. I am not sure how to
authorize on the session.
Check out "File Sharing" component dependencies.
I have other problems......
The Shutdown & Reboot Command is missing from the TaskManager

The system account by default does not have shutdown priviledge.
You may use "xpepm.exe -reboot" or "fba -reboot" to call a reboot from the
runtime (the same for shutdown).
I can copy files from other computers, but Map Network drives is on the menu
but doesn't do anything.

Assuming you got "Map Network Drives/Network Places Wizard" in the
configuration, does your image include "Primitive: MPRUI" component?

KM
 
Hi Konstantin,
The system account by default does not have shutdown privilege.

Are you sure about that?
System account has greater or equal privileges than administrator account.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Slobodan,

Doesn't shutdown.exe throw out a "not right privilege" error under Minlogon?
According to documentation system account and the administrator account (Administrators group) have the same file privileges, but
they have different functions.
But you cannot assign user privileges to the system account. SeShutdownPrivilege required to shut down a local system require user
rights: Shut down the system.
Does it mean that SE_SHUTDOWN_NAME privilege is owned by system account by default?
Don't have a minlogon image running here now but you have probably tried that - InitiateSystemShutdown or ExitWindowsEx API? Do they
work on Minlogon?
 
Mule said:
I needed it so users can copy files to and from the system. Would I be
better off with FTP as far as size?

It lets me share it just fine, I'm confused to what to enter for the name:
NT Authority or System or Administrator.
Maybe it's not possible, however I saw a message before stating it was but
can't find it.

I have other problems......
The Shutdown & Reboot Command is missing from the TaskManager
I can copy files from other computers, but Map Network drives is on the menu
but doesn't do anything.
I have XPE with minlogon, no explorer but a custom shell.
Sharing and using shares works fine.

This is how I do: (simplified)
On both machines my custom shell starts (API CreateProcessAsUser)
a cmd.exe under a user account (member of Administrators).
One makes: "net.exe share MyShare=C:\Mydir"
the other: "net.exe use x: \\192.168.11.12\MyShare"
After that X: functions like a locka drive.

I do not have to enter a username/password (perhaps since they are equal on the machines).

This could be your problem:
I never got things to work when the connect was made from
the system account. Not even if I set accessrights to everyone.

I came to the conclusion that you can not access resources
over the network if you are running under the SYSTEM account.
(But I don't know if that is really true, perhaps some settings could allow it).

Lasse
 
Konstantin,

Doesn't shutdown.exe throw out a "not right privilege" error under Minlogon?

Yes it does. But shutdown -f as far as I can remember will work.
Does it mean that SE_SHUTDOWN_NAME privilege is owned by system account by
default?

Yes I meant exactly that.

Don't have a minlogon image running here now but you have probably tried
that - InitiateSystemShutdown or ExitWindowsEx API? Do they
work on Minlogon?

ExitWindowsEx is working perfectly. (I have ACPI system although I don't
think that this matters)

InitiateSystemShutdown for this function I can't remember.

Regards,
Slobodan

KM said:
Slobodan,

Doesn't shutdown.exe throw out a "not right privilege" error under Minlogon?
According to documentation system account and the administrator account
(Administrators group) have the same file privileges, but
they have different functions.
But you cannot assign user privileges to the system account.
SeShutdownPrivilege required to shut down a local system require user
rights: Shut down the system.
Does it mean that SE_SHUTDOWN_NAME privilege is owned by system account by default?
Don't have a minlogon image running here now but you have probably tried
that - InitiateSystemShutdown or ExitWindowsEx API? Do they
 
You have answered the questions.
Thanks a lot, Slobodan!

Regards,
Konstantin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top