What Are You Doing Right Now
-
@Grey said in What Are You Doing Right Now:
@siringo said in What Are You Doing Right Now:
so i got mesh central working and it's pretty good.
when I did the install I didn't use the --install switch so I don't have Windows service.
How can I add a Windows service so it will auto start after a reboot??If you know the service executable, use sc.
sc -? ERROR: Unrecognized command DESCRIPTION: SC is a command line program used for communicating with the Service Control Manager and services. USAGE: sc <server> [command] [service name] <option1> <option2>... The option <server> has the form "\\ServerName" Further help on commands can be obtained by typing: "sc [command]" Commands: query-----------Queries the status for a service, or enumerates the status for types of services. queryex---------Queries the extended status for a service, or enumerates the status for types of services. start-----------Starts a service. pause-----------Sends a PAUSE control request to a service. interrogate-----Sends an INTERROGATE control request to a service. continue--------Sends a CONTINUE control request to a service. stop------------Sends a STOP request to a service. config----------Changes the configuration of a service (persistent). description-----Changes the description of a service. failure---------Changes the actions taken by a service upon failure. failureflag-----Changes the failure actions flag of a service. sidtype---------Changes the service SID type of a service. privs-----------Changes the required privileges of a service. managedaccount--Changes the service to mark the service account password as managed by LSA. qc--------------Queries the configuration information for a service. qdescription----Queries the description for a service. qfailure--------Queries the actions taken by a service upon failure. qfailureflag----Queries the failure actions flag of a service. qsidtype--------Queries the service SID type of a service. qprivs----------Queries the required privileges of a service. qtriggerinfo----Queries the trigger parameters of a service. qpreferrednode--Queries the preferred NUMA node of a service. qmanagedaccount-Queries whether a services uses an account with a password managed by LSA. qprotection-----Queries the process protection level of a service. quserservice----Queries for a local instance of a user service template. delete----------Deletes a service (from the registry). create----------Creates a service. (adds it to the registry). control---------Sends a control to a service. sdshow----------Displays a service's security descriptor. sdset-----------Sets a service's security descriptor. showsid---------Displays the service SID string corresponding to an arbitrary name. triggerinfo-----Configures the trigger parameters of a service. preferrednode---Sets the preferred NUMA node of a service. GetDisplayName--Gets the DisplayName for a service. GetKeyName------Gets the ServiceKeyName for a service. EnumDepend------Enumerates Service Dependencies. The following commands don't require a service name: sc <server> <command> <option> boot------------(ok | bad) Indicates whether the last boot should be saved as the last-known-good boot configuration Lock------------Locks the Service Database QueryLock-------Queries the LockStatus for the SCManager Database EXAMPLE: sc start MyService QUERY and QUERYEX OPTIONS: If the query command is followed by a service name, the status for that service is returned. Further options do not apply in this case. If the query command is followed by nothing or one of the options listed below, the services are enumerated. type= Type of services to enumerate (driver, service, userservice, all) (default = service) state= State of services to enumerate (inactive, all) (default = active) bufsize= The size (in bytes) of the enumeration buffer (default = 4096) ri= The resume index number at which to begin the enumeration (default = 0) group= Service group to enumerate (default = all groups) SYNTAX EXAMPLES sc query - Enumerates status for active services & drivers sc query eventlog - Displays status for the eventlog service sc queryex eventlog - Displays extended status for the eventlog service sc query type= driver - Enumerates only active drivers sc query type= service - Enumerates only Win32 services sc query state= all - Enumerates all services & drivers sc query bufsize= 50 - Enumerates with a 50 byte buffer sc query ri= 14 - Enumerates with resume index = 14 sc queryex group= "" - Enumerates active services not in a group sc query type= interact - Enumerates all interactive services sc query type= driver group= NDIS - Enumerates all NDIS drivers
Ex:
sc create DESCRIPTION: Creates a service entry in the registry and Service Database. USAGE: sc <server> create [service name] [binPath= ] <option1> <option2>... OPTIONS: NOTE: The option name includes the equal sign. A space is required between the equal sign and the value. type= <own|share|interact|kernel|filesys|rec|userown|usershare> (default = own) start= <boot|system|auto|demand|disabled|delayed-auto> (default = demand) error= <normal|severe|critical|ignore> (default = normal) binPath= <BinaryPathName to the .exe file> group= <LoadOrderGroup> tag= <yes|no> depend= <Dependencies(separated by / (forward slash))> obj= <AccountName|ObjectName> (default = LocalSystem) DisplayName= <display name> password= <password>
@Grey, thanks mate, I'll look into that on Monday.
-
@EddieJennings said in What Are You Doing Right Now:
@black3dynamite said in What Are You Doing Right Now:
Almost 24 hours since installing Pop! OS on my TV computer. It's been awhile since had a Debian/Ubuntu desktop based system on my home computers. My preferred OS, Fedora Workstation is on my desktop and laptop.
I ended up putting Pop_OS back on my System76 laptop (with 20.04). I'm always torn because I like both projects: Pop_OS and Fedora.
I'm like that too. I have two identical desktops, one with Ubuntu and one with Fedora to help me with that problem.
-
Been watching a bit of Kara & Nate today and enjoying the weather.
-
Installed Pop_OS 20.04 on my Dell laptop today. So far, so good.
-
Reading a little about networking and KVM. Trying to understand a bit more about why we tend to use macvtap in virt-manager for stuff.
-
@EddieJennings said in What Are You Doing Right Now:
Reading a little about networking and KVM. Trying to understand a bit more about why we tend to use macvtap in virt-manager for stuff.
Because it is the current best way to get a network adapter.?
-
@EddieJennings said in What Are You Doing Right Now:
Reading a little about networking and KVM. Trying to understand a bit more about why we tend to use macvtap in virt-manager for stuff.
It supposed to simplify virtualization network bridging instead of using linux bridge.
-
@JaredBusch said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
Reading a little about networking and KVM. Trying to understand a bit more about why we tend to use macvtap in virt-manager for stuff.
Because it is the current best way to get a network adapter.?
That appears to be the truth. So now my curiosity turns to learning a little bit about the different modes.
-
@black3dynamite said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
Reading a little about networking and KVM. Trying to understand a bit more about why we tend to use macvtap in virt-manager for stuff.
It supposed to simplify virtualization network bridging instead of using linux bridge.
And it appears to have succeeded with simplification.
-
Calling it bedtime here. Night all.
-
The old fashion lunch debate....
-
Movie time with the kiddoes.
-
Just learned that Hogwart's in Harry Potter is named after the mispronounciation of the goblin's name at the beginning of Labyrinth!
-
Watching this movie after all these years, it's amazing how much of Harry Potter is clearly inspired from this movie.
-
Got back home after picking up my vacuum from Best Buy using their curbside pickup.
-
monday morning, weather has cleared for now, sun is out, but only briefly.
more work on mesh central today -
got my mesh central server to start after a reboot simply by putting a script in a startup group policy on the MC server.
that'll do as a solution for now. -
RCHSA review
-
iso's kicking me in the head today
-
Updated MeshCentral to 0.5.22 and clean up my config.json settings.
You can now record remote desktop session to file and screenshot of the remote desktop.