ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. windows
    Log in to post
    • All categories
    • scottalanmillerS

      Why Learn Windows Systems Administration from the CLI?

      Watching Ignoring Scheduled Pinned Locked Moved IT Careers sam windows administration windows system administration careers it careers
      1
      6 Votes
      1 Posts
      460 Views
      No one has replied
    • scottalanmillerS

      Managing Windows Local Groups with Net LocalGroup

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion sam windows administration system administration scottalanmiller windows cmd net local groups user management
      6
      4 Votes
      6 Posts
      1k Views
      ObsolesceO

      I ran into a language issue the other day when writing a PowerShell script that uses net localgroup and thought it could be useful to others:

      Depending on the language your Windows device is set to, the local Administrators group will be different, so the typical net localgroup administrators domain\user /add command will fail.

      Implementing the following will grab the actual name of the group by it's SID first, then use that result.
      Note that this is written to work in PowerShell, not CMD.exe.

      # Gets the name of the local Administrators group in appropriate language $localAdminGroupName = (Get-WmiObject win32_group -filter "LocalAccount = $TRUE And SID = 'S-1-5-32-544'" | Select-Object -Expand name) Write-Output "Local Administrators group detected as: [$localAdminGroupName]" # Sets the users as a local admin using appropriate local Administrators group name net localgroup $localAdminGroupName domain\user /add # Gets local Administrators group members net localgroup $localAdminGroupName
    • scottalanmillerS

      Server Losing Connection to AD DC Intermittently

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion active directory windows windows server 2012 r2 hyper-v hyper-v 2012 r2 networking ad dc
      3
      0 Votes
      3 Posts
      2k Views
      wrx7mW

      Good find.

    • scottalanmillerS

      Managing Windows Local Users with Net User

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion sam windows administration windows net net commands
      28
      0 Votes
      28 Posts
      2k Views
      J

      @scottalanmiller said in Managing Windows Local Users with Net User:

      @JasGot said in Managing Windows Local Users with Net User:

      I'm using backstage more

      I assume that this is a component of another product?

      Part of ConnectWiseControl. (or ScreenConnect as we still call it around here.)

      It's at the bottom of the View tab when attached to a guest. Takes you to a new sessions as a System account with a command prompt and powershell window already open. No limit to what you can accomplish there. many gui apps will run in backstage too.

    • scottalanmillerS

      Managing Windows Local Users with PowerShell

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows sam windows administration system administration windows administration powershell shell command line cli
      14
      2 Votes
      14 Posts
      1k Views
      scottalanmillerS

      Topic has been forked, please keep discussions of OS comparisons to a different thread.

    • travisdh1T

      Windows update and Sophos

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion sopos windows update windows
      14
      2 Votes
      14 Posts
      1k Views
      wrx7mW

      https://www.bleepingcomputer.com/news/microsoft/microsofts-april-2019-updates-are-causing-windows-to-freeze/

      Looks like it isn't just Sophos.

    • scottalanmillerS

      The Hidden Cost of Licensing Windows Server - Activation

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion microsoft microsoft licensing closed source software software licensing windows windows server volume licensing
      11
      5 Votes
      11 Posts
      1k Views
      scottalanmillerS

      @pmoncho said in The Hidden Cost of Licensing Windows Server - Activation:

      @scottalanmiller said in The Hidden Cost of Licensing Windows Server - Activation:

      Just looking at this with a customer that just put in a new Windows 2019 server. The machine was purchased with a volume license agreement for Server 2019 Standard. Everything should be super easy, in theory. Problem is, license key from the volume license center doesn't work. We spend a bit of time trying to get this to apply, but no luck.

      I have run into a similar situation this morning and not being able activate the VLSC liscense.

      Before I decided to call MS and getting frustrated, I was able to activate from an elevated command line.
      cscript c:\windows\system32\slmgr.vbs /ipk <product key>

      Throwing this out here in case someone comes along this post at a later time.

      I've heard that that often works. We had tried that in our case and it had failed.

    • scottalanmillerS

      PowerShell: Running the Get-Command command in a remote session reported the following error

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion powershell ssh get-command windows 10 windows windows 10 1809
      25
      0 Votes
      25 Posts
      11k Views
      T

      @scottalanmiller I realise this is an old topic, but I've been fighting something similar all day. As it turns out, the implementation of PTY (and also TTY) has changed in recent versions of OpenSSH for windows. When the SSH session is built from within a script, the new OpenSSH implementation detects that the session is not setup from an interactive terminal, and therefore does not assign a PTY to the session, which results in the unability of the Get-Command command to send its output to STDOUT, hence the access denied error. Solution is (at least in the situation I am in) to use the -t (or even -tt) flag with the ssh command to set up the session

    • Reid CooperR

      General Guidance on Windows Admin Center WAC

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows wac windows admin center windows server windows server 2019 honolulu
      4
      0 Votes
      4 Posts
      778 Views
      ObsolesceO

      @Reid-Cooper said in General Guidance on Windows Admin Center WAC:

      @Obsolesce said in General Guidance on Windows Admin Center WAC:

      Yes you do need to either add other devices manually or by importing a list... but it's a one-time thing so it's a non-issue IMHO.

      Not bad for tiny environments. But at any scale, how does that handle machines being added in the future? You have to manually add every new machine after every change to WAC?

      I've only had about 100 servers and a handful of Win10 in it, so I'm not familiar with handling that at scale. It really only requires a txt file of a list of devices which is simple to maintain in any aspect. I only had to import that to get everything back in. If I added a new server, I would add it to the text file then add that server.

    • SuyeinsS

      Estación de trabajo con 10 segundos de atraso en el reloj

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows time synchronization active directory ntp sntp
      15
      2 Votes
      15 Posts
      1k Views
      dbeatoD

      @scottalanmiller said in Estación de trabajo con 10 segundos de atraso en el reloj:

      @dbeato said in Estación de trabajo con 10 segundos de atraso en el reloj:

      @scottalanmiller said in Estación de trabajo con 10 segundos de atraso en el reloj:

      Anyone know what the normal variance on Windows boxes is when not using a local time source? How close in seconds would we even expect a site to be able to be?

      You can have it up to 5 minutes from the Domain Controller Servers time.

      No DCs. No AD.

      Gotcha, I am still trying to see what is the issue. 10 seconds is almost unnoticeable. What is the purpose?

    • scottalanmillerS

      Veeam Agent for Windows VSS Snapshot Error with SqlServerWriter

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved IT Discussion veeam vss shadow copy sql server veeam agent for windows windows server windows backup disaster recovery windows server 2012 r2
      7
      0 Votes
      7 Posts
      14k Views
      notverypunnyN

      Our go-to solution for VSS problems is to set up a dedicated snapshot volume. Otherwise we were getting timeouts and M$ does ugly things that don't make sense when VSS doesn't work properly.

    • guyinpvG

      Windows 10 randomly loses connection with mapped drive

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows 10 windows smb mapped drive share
      3
      0 Votes
      3 Posts
      1k Views
      NashBrydgesN

      I had a similar issue in a workgroup with drives disconnecting. A bunch of Googling brought me to this.

      https://support.microsoft.com/en-us/help/297684/mapped-drive-connection-to-network-share-may-be-lost

      That seemed to fix the issue for me.

    • OksanaO

      Automate your important tasks and save time with Azure VM extensions

      Watching Ignoring Scheduled Pinned Locked Moved Starwind azure windows linux
      1
      1 Votes
      1 Posts
      121 Views
      No one has replied
    • WrCombsW

      Microsoft Security Essentials - Script?

      Watching Ignoring Scheduled Pinned Locked Moved Water Closet windows 7 pro windows microsoft security essentials antivirus
      6
      0 Votes
      6 Posts
      536 Views
      WrCombsW

      @Dashrender said in Microsoft Security Essentials - Script?:

      Do you have a remote access solution for these machines?

      If not, Mesh Central might be a real life saver - then you could remote in and run these commands. No driving required.

      What do you meant "Remote access solution"?
      if the question is "DO i have remote access" ?
      then the answer is yes .

    • OksanaO

      How to ensure maximum RDMA network performance? Watch StarWind video

      Watching Ignoring Scheduled Pinned Locked Moved Starwind starwind rdma windows linux
      1
      1 Votes
      1 Posts
      286 Views
      No one has replied
    • scottalanmillerS

      Download Windows Server 2019

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion microsoft windows windows server windows server 2019
      10
      3 Votes
      10 Posts
      3k Views
      siringoS

      @Emad-R said in Download Windows Server 2019:

      @scottalanmiller

      https://software-download.microsoft.com/download/sg/17763.253.190108-0006.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us.iso

      Thanks @Emad-R with this link you don't have to go through all the paperwork.

    • RomoR

      File not marked for installation

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved IT Discussion windows installation sidenotesim
      3
      1 Votes
      3 Posts
      337 Views
      RomoR

      Worth the try checking it @dbeato thanks, will try it once I can remote back into the machine today

    • scottalanmillerS

      Add a User to Remote Desktop Users in Windows Remotely

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows rdp remote desktop psexec windows server cmd sysinternals
      7
      3 Votes
      7 Posts
      8k Views
      scottalanmillerS

      @gjacobse said in Add a User to Remote Desktop Users in Windows Remotely:

      I seem to remember doing this via ScreenConnect CMD

      Only works if SC is installed, which if it was, we'd not need to do it 🙂

    • RojoLocoR

      Use Powershell to audit Windows service accounts

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion ps powershell scripting windows
      6
      3 Votes
      6 Posts
      1k Views
      RojoLocoR

      @Kelly said in Use Powershell to audit Windows service accounts:

      Unless you're wanting to use Powershell for a learning experience you might look at something like this: http://www.cjwdev.com/Software/ServiceCredMan/Info.html. If you still want to use the Powershell route this might be a good way to check the success of your script.

      That looks like it will do exactly what we want... thanks for the link.

    • scottalanmillerS

      Making Windows Server 2016 Update Automatically

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows windows server 2016 windows server powershell regedit registry
      17
      2 Votes
      17 Posts
      1k Views
      scottalanmillerS

      Not yet.

    • 1
    • 2
    • 7
    • 8
    • 9
    • 10
    • 11
    • 28
    • 29
    • 9 / 29