Monday, June 01, 2009

Enable or Disable File and Printer Sharing with snetcfg.exe

For a recent work project I needed to be able to be able to enable File and Printer Sharing on 2000+ machines for a few weeks while some software was deployed then disable File and Printer Sharing once the deployment was complete. I quickly found out that their was no group policy to easily do this and with a little google searching I found snetcfg.exe was the way to do this. Snetcfg.exe can be used to install/uninstall network protocols, services, and clients. Unfortunately, I found it really hard to find any documentation on this executable so I though I'd write up this short little post in hopes it would help someone else out with this delema...

Command I Used To Enable File and Printer Sharing
snetcfg.exe -c s -u MS_Server
snetcfg.exe -c s -i MS_Server
The first line above uninstalls File and Printer Sharing and the second reinstalls it. This ensures that File and Printer Sharing is installed and enabled. After the software was deployed I removed the second line from the start up script and File and Printer Sharing was once again disabled.

SNETCFG Command Line Help:
C:>snetcfg /?
snetcfg [-v] [-l ] -c -i
    where,
    -l provides the location of INF
    -c provides the class of the component to be installed
        p == Protocol, s == Service, c == Client
    -i provides the component ID
    The arguments must be passed in the order shown.
    Examples:
    snetcfg -l c:\oemdir\foo.inf -c p -i foo
    ...installs protocol 'foo' using c:\oemdir\foo.inf
    snetcfg -c s -i MS_Server
    ...installs service 'MS_Server'
OR
snetcfg [-v] -q
    Example:
    snetcfg -q MS_IPX
    ...displays if component 'MS_IPX' is installed
OR
snetcfg [-v] -u
    Example:
    snetcfg -u MS_IPX
    ...uninstalls component 'MS_IPX'
OR
snetcfg [-v] -s
    where,
    -s provides the type of components to show
        a == adapters, n == net components
    Examples:
    snetcfg -s n
    ...shows all installed net components
OR
snetcfg [-v] -b
    Examples:
    snetcfg -b ms_tcpip
    ...shows binding paths containing 'ms_tcpip'
General Notes:
    -v turns on the verbose mode
    -? Displays this help

Hope this helps some people... feel free to comment...
Justin

Monday, December 29, 2008

My Experience at Ernie von Schledorn

"Who Do You Know Wants To Buy A Car"
Make Sure You Share This Story With Them!


The Story
Here is my experience at Ernie von Schledorn, also known as EVS, of buying a used car. On October 6, 2008 I purchased a 2007 Silver Mazda 6 from their Lomira, WI location.
Nobody's Keeping Their Word
First-off, before and after purchasing the car I was accused several times of “not keeping my word” and one instance of this I was even accused of “reneging the deal!” I don’t know why I didn’t just walk right out of that place, but now I wish I had.
The Second Key
Minutes after purchasing the car the salesman tells me the car only came with one set of keys, but that another set has already been ordered. Long story short, they only get me a key (see left picture below) and no remote that connects to it (see right picture below). Then they try to screw me out of who knows how much money ($40-$50-$60) when I demand they get me the "rest of my key." They even claim that Holiday Mazda in Fond du Lac, WI is lying to me and to them about the price of the remote.

The Contaminated Fluids
When I picked up my key from Holiday Mazda I was told that the transmission and power steering fluids were contaminated/burnt more then what they would expect for a car at 32,500 miles. Naturally I wanted this to be fixed. EVS took a look at the fluids and told me they were just fine and again claimed that Holiday Mazda was lying to me about the fluids in my car.
The Spoiler
My new car didn't come with a spoiler like another Mazda 6 I had looked at and I tried to get them to include it in the purchase price we negotiated, but was quoted $300 extra. During one of several heated phone calls about the key and the contaminated fluids the used car sales manager claims I told him to order this spoiler. He knows this is not true... Just trying to get more money out of me. Anyways, I got a call saying my spoiler was in, I said I never ordered a spoiler, then I was told I would have to pay a $100 restocking fee since I didn't want the spoiler anymore. I called the used car sales manager back and told him I was not paying the $100; I never wanted to do business with them again; and that I was going to make sure to tell as many people about this experience as possible. He didn’t have much to say. No apology, no what can we do to make this up to you, but he did say I didn’t have to pay the $100. I think it was the first smart thing he said.

Their is lots more I'm leaving out in an attempt to keep the posting short but here is my "beg" to you:
Do Not Buy A Vehicle From Ernie von Schledorn!
and please share this with anybody you know that's looking to buy a car.

Justin Jahns

Sunday, December 14, 2008

Patch Now Available for GTA:IV for PC

Rockstar/Games for Windows Live have released, as of yesterday, a patch to help fix many issues experienced in the PC version of Grand Theft Auto IV. All you have to do to install it is start the game and sign into Games for Windows Live and the patch will be installed.

The patch has given me a smoother FPS and the shadows look a little bit better then before. Unfortunately I still can only play at 1152 x whatever, with medium settings... The gameplay is OK but random objects like to just appear late. It's ok when it's a pile of garbage or something but not ok when it's non-movable objects like contruction walls in the road...

Justin

Source: http://www.gta4.net/news/4168/gta-iv-pc-patch-now-available/

Tuesday, December 02, 2008

Grand Theft Auto IV for PC Out Now!

Grand Theft Auto IV for PC was officially released today in the United States!

I've picked up my copy from BestBuy and I'm installing it as I'm writing this post.
I'm already hearing issues with the game on http://www.gtaforums.com/ so I'm just hoping that it works for me.

More to come.
Justin

Sunday, October 12, 2008

I Got A New Car!

Yep, that's right I bought myself a new set of wheels, well new to me anyways...

I'm now driving a Silver 2007 Mazda 6. Check out the pictures of it on my Picasa Web Albums. So far I'm loving the car but my experience purchasing it and the service afterward was horrible. I wont ever be doing business with Ernie von Schledorn again, and I suggest the same to everyone!

Justin

Thursday, August 28, 2008

Going Back To School

Now It's Official. I'm am now all signed up for classes this fall and my first class starts on September 19th. I'm going back to school to get my bachelors degree. I've already completed two associate degrees and an advanced technical diploma from Moraine Park Technical College and now I'm using those degrees through MPTC to start as a Junior at Franklin University. In two years or so I should have my Information Technology Bachelors of Science Degree.

"Ahw, does this mean I have more homework? Aaahhhwhwww..."

Justin...

Tuesday, August 26, 2008

I'm Going To VMWorld in Las Vegas!!!

I get to attend VMWorld 2008 in Las Vegas, NV through my new job at MPTC. I'm really excited about going and I'm sure I'll learn a lot that will help me out with my job. VMWorld is a 4 day conference at the Venetian Hotel. I'll be staying at the Flamingo in one of their "Go Luxury" rooms. I'm sure I'll be posting pictures and more from my trip once I return.

http://www.vmworld.com/conferences/2008/

Justin

Thursday, August 21, 2008

The Best Free Online Game Ever!!!

Desktop Tower Defense

Yep, Desktop Tower Defense... This game is really addicting. Here's a quote from the site, "Desktop Tower Defense is a fun flash based puzzle/strategy game where you have to protect your desktop from invaders by spending money on attacking pieces and building a maze for them to follow. A strangely addictive yet stress relieving game... how many levels can you survive?"

You should check it out: http://www.handdrawngames.com/DesktopTD/game.asp

Justin

Saturday, August 09, 2008

GTA IV Coming To PC!


Yep That's Right!!!
I'm sure your not as excited about this as I am but THIS IS FREAKING AWESOME!!! I've been waiting for this since GTA IV was announced for PS3. I just read today on GTA4.net that Rockstar Games announced via a press conference from TakeTwo Interactive that they plan to release Grand Theft Auto IV for the PC on November 18th in the US.

- Take a look at the GTA4.net Post if you don't believe me.
- Also check out the GTA4.net site and the Official GTA IV website for the latest information on the game...

Justin...

Tuesday, July 29, 2008

Ski Trip 2008 Pictures

Below is a link to my Picasa web album of most of the pictures that I took on my families yearly ski trip to Big Powderhorn Mountain near Bessmer, MI.

BPM Ski Trip 2008


Justin