Messages - questorfla [ switch to compact view ]

Pages: prev1 ... 21 22 23 24 25 [26] 27 28 29 30 31 ... 114next
126
4 WD, I sent you a few emails with attached zips withthe setup as needed to run elevated PS1 from normal batch  file. 

That was about my only contribution.  Your Original script worked and was plain to see this once i slowed it down a little  :(  I am not so "fleet of mind"
This is exactly the thing that the people on that "other forum" spent so much time telling me could not be done at all.
Thanks for the help.  If you look at what i sent, i only need the added means to input a choice of types to be used for the command and Powershell is not something i know much at all.

With that added, i ahve the perfect "portable" utility that could be used on any system for the same reasons. :Thmbsup: :Thmbsup: :Thmbsup: :Thmbsup: :Thmbsup:

127
For the current active connection, in an elevated PowerShell console:

Code: PowerShell [Select]
  1. $net = get-netconnectionprofile;Set-NetConnectionProfile -Name $net.Name -NetworkCategory Private

THanks again 4wd  HOW do You DO it>?  I looked evrywhere.  Posted allover Microsoft as well as every possible forum i could find.  The WORST was Spiceworks where I got nothing but a Hundred and One reasons why it was "Impossible" to do.  Or suggestons on why I needed to do it a way they KNEW how to do (none of which would work in my case anyway and I got tired of explaining that).  I figured I would have to wait for the 12 hour time difference for you to come up with the answer :)
Not Yet TESTED but I am sure it works!  Dont suppose you have the addon to make it run elevatd in the same script.  I need to put this on every system with all the other "For Emergency Click HERE" scripts.  They won't know how to open an elevated PS prompt.

<Side note:  I STILL would love a way to step through a section of registry making multiple changes where needed based on the main key and not the specific reference in it.  All of those profiles could be changed to private whether active or not and in this cae it would not have hurt anything.  If i could have determned the single active one, I would have deleted the rest on a company system and never thought twice about it.

128
...As would that 'D' word thing you're tired of us mentioning.
Delete user account?  :huh:
Yeah  well.  I figured is was a side-swipe at the copany using a Non-Domain network but.. I kinda like "Delete the User myslef! ;).
OR maybe it is a "hint" 
or  <Donations , Dummy!>    Oops  Double 'D'

129
Like "duh"? :)

This is for those times when I get tired of people who cant at least wait 5 minutes for me to get from the 2nd floor to the 5th floor to see what the heck they did to cause it. They just want to Print and don't care that I am not psychic, cannot levitate nor teleport.   They are also the ones who complained the most when I suggested we shift to a Domain network because they are 'afraid' that IT will be 'spying' on them.  :'(

When they have a problem it is "spying' they want though.

130
I know in a general way what I need to do but not exactly how to get there and do it

Code: Text [Select]
  1. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
  2. if possible locate the wireless profile currently in use
  3. if not check each profile for a key called category
  4. if there is one set the value 1 for Private
  5. if one does not exist create it and set it to 1
  6. If it was possible to find and set only the active WiFi profile then exit now
  7. if that was not possible continue to the next profile until all are set to Private

Unless their is a reason that this could be problematic, it will definitely fix something instantly untili canget to the User to do a better job.

This is a situation that has begun to appear often in Windows 10, usually on older systems that were upgraded but sometimes on new Windows 10 laptops.  When it happens, I need to be able to tell the user to click a .bat or .reg file that would set everything to PRIVATE until I can get to their station to do it right and find out what caused the problem in the first place.  When they are shown using a PUBLIC connection they are blocked from most office networked items like Printers etc.

I won't know the exact profile name to use for their system and if a way can be added to make this change occur only on the WiFi profile currently in use, that would be best.
The wired profiles automatically say Private but on these same systems, connecting their Wired connection does not release the WiFi as it should.  Worse, many new laptops no longer provide for a wired network at all.

Pages: prev1 ... 21 22 23 24 25 [26] 27 28 29 30 31 ... 114next
Go to full version