Easily setup, turn on/off your laptop's hotspot - Pc tutorial
tutorial·@sourovafrin·
0.000 HBDEasily setup, turn on/off your laptop's hotspot - Pc tutorial
Hey guys whazzap, how are you guys doing? Hopefully good, i am also doing good. Today i will not talk too much, i will share a simple tool by which you will be able to setup/turn on/off your laptop's wifi hotspot. You can do it by cmd by typing a lot of commands but i am sharing a way by which you can easily setup/trun on/off hotspot of your laptop and can share the internet connect. For doing so, copy the below texts and create a file and save it as `.bat` file. ``` @echo off REM Batch file for creating Wifi Hotspot if _%1_==_payload_ goto :payload :getadmin echo %~nx0: elevating self set vbs=%temp%\getadmin.vbs echo Set UAC = CreateObject^("Shell.Application"^) >> "%vbs%" echo UAC.ShellExecute "%~s0", "payload %~sdp0 %*", "", "runas", 1 >> "%vbs%" "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" goto :eof :payload echo %~nx0: running payload with parameters: echo %* echo -------------------------------- cd /d %2 shift shift rem put your code here rem e.g.: perl myscript.pl %1 %2 %3 %4 %5 %6 %7 %8 %9 :start @ECHO off ECHO Pleae select one of the options ECHO ------------------------------- ECHO 1 Hotspot settings ECHO 2 Start Hotspot ECHO 3 Stop Hotspot ECHO ------------------------------- SET /p option=Please enter one of the options: if %option%==1 ( goto setup ) else set /a er=1 if %option%==2 ( goto start1 ) else set /a er=er+1 if %option%==3 ( goto stop ) else set /a er=er+1 :noOption if %er% GEQ 3 ( Echo Error! Echo Please enter a correct option @pause cls goto start ) :setup SET /p ssid=Please enter the Hotspot name: SET /p key=Please enter the Hotspot password greater the 8 digits: netsh wlan set hostednetwork mode=allow ssid=%ssid% key=%key% if %errorlevel%==0 ( ECHO Setup complete ) @pause cls goto start :start1 netsh wlan start hostednetwork @pause cls goto start :stop netsh wlan stop hostednetwork @pause cls goto start goto :eof ``` After saving it just double click to run it and it will ask administration permission after granting it cmd window with appear like below picture- <center> </center> Then setup for the first time by selecting **Hotspot settings**. for selecting just type the mentioned number and press enter. Then just follow the guidance and set it up. For turning on hotspot type 2 and for turning off type 3 and hit enter. Don't forget to turn on networking sharing setting from your main network properties which you want to share. For doing so follow below pictures <center>   </center> After doing so, i hope u will be able to turn your pc's hotpot on easily and use on other devices. If you get any problem, let me know. I will try to answer and solve it. * * * This is the end of my blog. Thanks for reading my blog * * * Join our community where we help Bangladeshi writer and good content creator growing on steemit- <center> https://media.discordapp.net/attachments/461235573424652298/468147659014930432/sourovafrincustombanner.gif?width=500&height=148 <a href="https://discord.gg/GVEm2fe" target="_blank"><img src="https://steemitimages.com/DQmV3vq9X1LuEx1JeHCxPMTSyYDeM8MoaMXe2udAUCPM7B6/DQmV3vq9X1LuEx1JeHCxPMTSyYDeM8MoaMXe2udAUCPM7B6.png" /></a> </center> See you guys later. Till then stay safe, be happy and keep doing good things. To connect me on facebook click below gif- <center> <a href="www.facebook.com/sourovafrin" target="_blank"><img src="https://res.cloudinary.com/hpiynhbhq/image/upload/v1517553861/xm180jelxcgtchhs1ntu.gif" /></a> </center>
👍 intisar, raselhosen, confessrumped, sableside, bucksumpaypal, maluninivan, garikpetrosyan, alexmartinov, mailrabbit, icerinksweet, reazuliqbal, steemtaker, mhossain, boomtube, gamerbd, samvelv, patrickk97, banchick, xvegax, pavlovilya23, olegtimenkov, rodionrasaev, kadaevrenat, nideecstatic, andrey915, rwalczak, tensteam, habitroof, odetta199, rebrovivan, potatovariscan, cootroach, buntlinelard, dyogramsponson, berwynelbow, v6476721, maikl960, shavgen111, felicjann, johnfogel, unarmedxyloid, wigeonfeatures, bookshydration, clotsthou, wallskirk, controlcagey, bouquetclick, ellibor, rubydetails, wagcouloir, unlockrichard, terraceadze, topkame, obnoxiousurine, dreamarif, steemitbd, eftikhan, shrishmeyy, jackmillerbot, fastandcurious, sectionshankar, rival, jahedkhan, alexran, steemitbdex, mhmuhib, masterzaidan, sourovafrin, ayasha, mamun123456, sfturzo, wrestleredoy, kamikaze, peskov, suggeelson, tard, hashing247.com, mygod, scilwa, cotarelo, brittuf, imosco, osmania, laicalv, investyourvote, wildcat11, news-today, arhitekt, aes-exchange, bycz, ullikume, theb0red1, masonmiler, sstefan, decentral, snoe860, dimarss, radagast, nolnocluap, vannfrik, stormriderstudio, ahinga, cantribute, jmromero, cryptokrieg, dheerajdj, pointeblue, tylersr, sreepyeldarb, shrazi, deluge, w-inv, aftabkhan10, steem-untalented, allizz, brianhphotos, kivsha, shreetbn, fmalafaya, egotheist, yairdd, d-vine, julien030, thi-js, positivibes, adamdonmez, comsamo, michaelizer, kristves, photovisions, aandebickel, taxguy, amirtheawesome1, deeroy, master-delegator, marcos1245, surpassinggoogle, doodleman, southparkqueen, steemgigs, aauthespian1, biplob12, afrin12, murad06, williams-owb, yusuf.nisam, andrelion, asfuriah, josh26, fifi-yanti, ulfiatu.akiya, pejugold, teukuizul, sarjani, wandy01, teukuafzal, ayoade96, wawan.anestesi, fibrefox, nurjannah11, khairuddin08, nur-malita, yomismosoy, dman-dmania, skyphotographer, moksamol, sunnylife, dwightjaden, gracehills, osarueseosato, talivet, eruditescholar1, ligarayk, imkareencajes, crypto4euro, antigenx, originalmrspice, freudy, omoyiwolabusayo, magatha, arcange, raphaelle, airbud23, tarsivy, davidding, bgie8311, elemental010, steemvoter, olsm, steeminator3000, costanza, investegg, gogogadgetupvote, jvb71, cliffpower, yb1337, upheaver, sumsum007, simgirl, steemcanvas, prasanna, gomeravibz, cnfund, steemsportsfund, anforo, buggedout, davidconstantine, minnowhelperteam, bestlife, karlin, morwhale, sonu084, peaceandlove, steem4all, sugardash, simply-me, steemconductor, beachinist, mione, melbookermusic, jemakaje, wasimk87, freeyourmind, snowflake, dercoco, dontbenormal, nataliechickee, someonewhoisme, forykw, greyman, drwom, jbp, zapata42, masummim50, bityobit, nickmorphew, nyarlathotep, waqasmalik, mariostucablog, rougebot, sniffbiff, bigdizzle91, sozdemir, mimikombat, joannewong, sonny.dharmawan, lovepath, lifeaef, mikeb570, mikehamm, photohunt, akoano, bekirsolak, salty-mcgriddles, farhankhann, jansher, annemariemay, caacupe, gruber, dianargenti, jcsteem, bekkababy, cikxaijen, amreshchandra, valderrama, djmalith, dorth, johnyliltoe, miloudett, ravindraojha, gabyen3d, engramanullah, luciamuresan, bestgift, hemanthoj, vempromundo, vonhandfotografy, hogu, taifkhan, bestboom, chasechiro, meher04, clone92, steemfunder, bryner, steemdrive, melek, natord, rahul.stan, rhanna10km, elfictron, futuristgear, patriot, jmcmeekin, martinio6, glitterbooster, locham, thelordsharvest, skizoweza, zeinmalik, bayeco06, videogeek, phamanh, jerre-nl, luilan, annadoll, faces, plushzilla, teiki, hery0823, bubbleburst, kennybll, nokodemion, theapexplayer, joeycrack, azadakar, beatifull, concession, josefran, swt3df1, cha0s0000, hsyndemir, sentience, hustleking, trangnhiiii, ozlemkeskin, steembalkan, teamfibonacci, erikklok, wond2006, adamsjeg, aronexxon, rampagejr, nandaibra, weimunyap, salihp, hulyadurak, abdane, anlinh, atilay, alexandered, muammark013, cevdetpasha, tramymiexo, bludo, deathlove, tiecthuong1, celebritypoet, viethung, vietnam1102, resteemdone, anyuta-rai, kingword, nguyenvantan, princezico, linhly, fittree, faceb, huyentica, tamhoang, giangha, congiomuadong, hoahong97, trytolearn, anhheo, thuytiti, loveforlove, sumonflair, thanhlam, thanhloan, thuthuy, qrater, tea-kyun, beulahlandeu, trunghieu, hienhienanh, doremonbaby, sunyflower, nikema, trsteemer, dauntlesscoward, hangmeo, artsyunicor, artsyunicorn, doodlebl, bloopy, tantino, tranthuy, popschools, thanhthuy, anbinh, toiyeuvietnam, xinhdepvn, chilbi, huongee, hongpham, vantrangggg, kittenpics, marysent, ulisessabeque, isaganicabrales, minnowbooster, frellarong, bembelmaniac, miniklady, hafizullah, neosatz, angel.keya1997, nusrat1997,